AI Chat

Append the next chunk of an upload.

Changed on
put/ai/conversations/{public_id}/attachment-uploads/{upload_id}/chunk

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/conversations/{public_id}/attachment-uploads/{upload_id}/chunk
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

upload_idstring required

Upload id from the start request

Query parameters

offsetinteger required

Where this chunk starts in the file: the bytes received so far.

Request body multipart/form-data

chunkstring binary required

Response

Chunk stored

received_bytesinteger required

Bytes of the file the server now holds.

Changes