Agent Attachments

Upload attachments

Upload image files to attach to the next agent message. Max 8 files, 20MB each.

post/api/v0/agent/sessions/{session_id}/attachments

Path parameters

session_idstring uuid required

Response

Successful Response

attachment_idstring uuid required

Public ID of the attachment.

filenamestring required

Original filename.

content_typestring required

MIME type of the stored image, which may differ from the uploaded one: formats the vision models reject (BMP, GIF) are stored as PNG.

size_bytesinteger required

Size of the stored file in bytes.

Changes

No recorded changes to this endpoint across all 1 revision of this API.