Skip to main content

Step 1: Create an API key

Go to your Aigmented Dashboard → Settings → API Keys → Create New Key. Copy the key — it starts with sk- and is shown only once.
You need Moderator role or above to create and use API keys. Users with the basic User role cannot access the API.

Step 2: List your collections

You’ll get a list of your knowledge collections with their IDs:

Step 3: Ask a question

Use the collection ID to ask a question:
Response:

Next steps

Authentication

Learn about API keys, roles, and token limits.

Search & Ask

Explore search filters, streaming, and multi-turn conversations.