Agent Knowledge Files

Upload Knowledge File Chunk

Changed on

Upload a single chunk of a PDF knowledge file.

Send the raw chunk bytes as the request body. Chunks are zero-indexed via the chunk_number query parameter and can be uploaded in any order.

put/v1/knowledge-files/{id}/upload

Request

  • Base URL
    https://api.bey.dev
  • URL
    https://api.bey.dev/v1/knowledge-files/{id}/upload
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Knowledge File ID.

Query parameters

chunk_numberinteger required

Chunk number, starting from 0.

Response

Successful Response

Changes