v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
Agents Platform

Upload File

Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.

post/v1/convai/conversations/{conversation_id}/files

Path parameters

conversation_idstring required

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

file_idstring required