Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the knowledge base
The unique identifier of the datasource.
Body
application/json
curl --request POST \
  --url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "",
  "enabled": true,
  "status": "<string>",
  "limit": 100,
  "page": 1
}'{
  "object": "list",
  "data": [
    {
      "_id": "<string>",
      "text": "<string>",
      "metadata": {},
      "enabled": true,
      "status": "pending",
      "created": "<string>",
      "updated": "<string>",
      "created_by_id": "<string>",
      "update_by_id": "<string>"
    }
  ],
  "has_more": true
}curl --request POST \
  --url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "",
  "enabled": true,
  "status": "<string>",
  "limit": 100,
  "page": 1
}'{
  "object": "list",
  "data": [
    {
      "_id": "<string>",
      "text": "<string>",
      "metadata": {},
      "enabled": true,
      "status": "pending",
      "created": "<string>",
      "updated": "<string>",
      "created_by_id": "<string>",
      "update_by_id": "<string>"
    }
  ],
  "has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the knowledge base
The unique identifier of the datasource.
Was this page helpful?