cURL
curl --request GET \ --url https://api.xpander.ai/v1/knowledge \ --header 'x-api-key: <api-key>'
{ "items": [ { "id": "73dc30ca-bdbf-42f7-a39f-93aff4f8522e", "name": "Product Documentation", "description": "Contains product guides and API documentation", "type": "managed", "organization_id": "91fbe9bc-35b3-41e8-b59d-922fb5a0f031", "agent_id": null, "total_documents": 5 } ], "total": 6, "page": 1, "per_page": 20, "total_pages": 1 }
Returns a paginated list of knowledge bases
Show Knowledge Base Object
managed
curl -X GET -H "x-api-key: <your-api-key>" \ "https://api.xpander.ai/v1/knowledge?page=1&per_page=2"
{ "items": [ { "id": "73dc30ca-bdbf-42f7-a39f-93aff4f8522e", "name": "Product Catalog", "description": "Complete product information and specifications", "type": "managed", "organization_id": "<org-id>", "agent_id": null, "total_documents": 12 }, { "id": "e21563bd-7c02-4f8f-9520-8c854f5c2ee6", "name": "Company Policies", "description": "Internal policies and procedures documentation", "type": "managed", "organization_id": "<org-id>", "agent_id": null, "total_documents": 8 } ], "total": 5, "page": 1, "per_page": 2, "total_pages": 3 }
total_documents
API Key for authentication
Page number (starting from 1)
x >= 1
Items per page (max 50)
1 <= x <= 50
Successful Response
Show child attributes
Was this page helpful?
Suggestions