v10

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

Upload agent chat attachments

Multipart upload of PDF, JPEG, or PNG files for agent chat. Same limits as assistant chat (POST /conversations/attachments/upload): up to 10 files, 5 MiB each. Proxies to the AI backend. Optional conversationId associates uploads with an existing agent thread.

post/agents/{agentKey}/conversations/attachments/upload

Path parameters

agentKeystring required

Response

Success. The gateway proxies the AI-backend JSON envelope after transforming the multipart upload into the backend attachment payload.

conversationIdstring nullable required

Existing conversation id echoed from the request when the upload is tied to a thread; otherwise null.