Agent Knowledge Files

Submit Knowledge File

Changed on

Finalize a chunked knowledge file upload.

Assembles the uploaded chunks and starts extracting and indexing them. Returns the file as processing; it becomes available once that finishes, which takes minutes for a long document.

post/v1/knowledge-files/{id}/submit

Request

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

Path parameters

idstring required

Knowledge File ID.

Response

Processed Knowledge File

OR
OR
OR

Example response

{
  "id": "01234567-89ab-cdef-0123-456789abcdef",
  "name": "Hitchhiker's Guide to the Galaxy"
}

Changes