Skip to main content
POST
/
api
/
kb
/
collections
/
{collection_name}
/
documents
/
check
Check Documents Exist Api
curl --request POST \
  --url https://api.example.com/api/kb/collections/{collection_name}/documents/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.xagent.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

collection_name
string
required

Body

application/json

JSON body with 'filenames': list of filename strings

Response

Successful Response

The response is of type Response Check Documents Exist Api Api Kb Collections Collection Name Documents Check Post · object.