List Collections
collection.listList all document collections owned by your API key. Get collection IDs needed before running searches or asking questions. Supports pagination.
Instructions
List all document collections owned by your API key. Free — no credits consumed. Use before collection.search or collection.ask when you need the collection ID. Supports pagination with limit and offset. Returns: { collections: [{ id, name, created_at }] } Example prompts:
"List all my document collections."
"Show me the collections I have created."
"What collections do I own? List them."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max collections to return (default 50, max 100). Example: 20 | |
| offset | No | Pagination offset (default 0). Example: 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collections | Yes |