Skip to main content
PUT
/
v1
/
orchestrate
/
knowledge-bases
/
{kb_id}
/
documents
Ingest Additional Documents Into A Knowledge-Base
curl --request PUT \
  --url https://{api_endpoint}/api/v1/orchestrate/knowledge-bases/{kb_id}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file_urls=<string>' \
  --form 'files=<string>' \
  --form files.items='@example-file'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

kb_id
string
required

Body

multipart/form-data
file_urls
string
files
file[]

Response

Successful Response