v1
mcp
attachments

Remove an attachment from a session or cancel its in-progress processing.

Removes the attachment from the session; the AI will no longer reference it in subsequent chat turns. If processing is still in progress, also cancels the underlying job. Use to free up context, remove sensitive files mid-session, or replace a stale reference document. The attachment_id can be either the final attachment ID or the job ID (during processing).

delete/v1/attachments/{attachment_id}

Request

  • Base URL: https://api.superdocs.app
  • URL: https://api.superdocs.app/v1/attachments/{attachment_id}
  • Auth: HTTP bearer

Path parameters

attachment_idstring required

Query parameters

session_idstring required

Headers

authorizationstring nullable

Response

Successful Response

unknown required

Changes