List collections
Get collection details
Create a collection
Delete a collection
Collection statuses
List knowledge cards
page, limit), filtering by type (type), and full-text search (search).Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create and manage knowledge collections
curl https://aigmented.io/api/v1/collections/list \
-H "Authorization: Bearer sk-YOUR_API_KEY"
{
"message": "List of collections",
"data": [
{
"id": 49,
"name": "Product Documentation",
"status": "processed",
"_count": {
"knowledgeCards": 1248,
"fileInstances": 4
}
}
]
}
curl https://aigmented.io/api/v1/collections/49 \
-H "Authorization: Bearer sk-YOUR_API_KEY"
curl -X POST https://aigmented.io/api/v1/collections/add \
-H "Authorization: Bearer sk-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Q4 2024 Contracts" }'
curl -X DELETE https://aigmented.io/api/v1/collections/49 \
-H "Authorization: Bearer sk-YOUR_API_KEY"
| Status | Meaning |
|---|---|
new | Collection created, no files processed yet |
processing | Files are being parsed and knowledge extracted |
processed | All files processed successfully |
processed_with_conflicts | Processed but some knowledge cards have conflicts |
error | Processing failed |
curl "https://aigmented.io/api/v1/collections/49/knowledge-cards?page=1&limit=20" \
-H "Authorization: Bearer sk-YOUR_API_KEY"
page, limit), filtering by type (type), and full-text search (search).