Skip to main content
DELETE
Detach Context
Remove the grant for future attachment reads. Content already included in an accepted message remains part of that message’s history. Detaching does not delete the underlying library file.

Authorizations

x-api-key
string
header
required

Path Parameters

sessionId
string
required
Pattern: ^asst_[a-f0-9-]{36}$
attachmentId
string<uuid>
required

Response

Accepted state.

The response is of type object.

Last modified on November 9, 2026