v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Agents

Delete an agent chat attachment

Deletes a previously uploaded attachment by proxying DELETE to the query service (/api/v1/chat/attachments/{recordId}). The Node handler always ends the response without a JSON body on success (empty body); the status code is the upstream status, or 204 if none is returned.

On validation failure in the gateway (invalid / blank path params), the response is 400 with a small JSON error object. Same fire-and-forget semantics as DELETE /conversations/attachments/{recordId} on the client.

delete/agents/{agentKey}/conversations/attachments/{recordId}

Path parameters

agentKeystring required

Agent key path parameter. Must be non-empty.

recordIdstring required

Attachment record id (from the upload response). Must be non-blank after trim.

Response

Success with no content (typical when upstream returns 204).