Skip to main content

Authentication

To start using the Qontext API:
  1. Sign up for Qontext to create your workspace
  2. Create a new Vault and direct to “Context Access”
  3. Add an API key in the “API Keys” section
  4. Include it in all API requests as a header:
cURL
--header 'X-API-Key: q_sk_***************'

Ingest your data

Bring company data into Qontext from any source. Qontext automatically processes, structures, and links it in your Context Vault. There are two ways to ingest the data:
  1. Ingest with Native Data Connections
  2. Manual Ingestion via API
Example: Ingesting unstructured data via API
cURL
curl --request POST \
  --url https://api.qontext.ai/v1/ingestion/unstructured \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: q_sk_***************' \
  --data '{
    "vaultId": "kg_681c0068-b589-4923-ac4a-73040fab7a45",
    "text": "Harry Potter met with Hermione Granger to discuss potential partnership opportunities."
  }'

Retrieve context

Once your data is ingested, you can retrieve context dynamically for any AI workflow or prompt. Qontext traverses your knowledge graph to return connected entities, their relationships, and relevant, connected information - going far beyond simple keyword similarity. There are two main ways to retrieve context:

Qontext API

Call the API directly to retrieve context.

MCPs

Connect Qontext to Claude or other AI tools via MCP.

Connect Qontext to Your AI Workflows via API

Qontext is built to live where your agents work. You can connect your Context Vaults using our native nodes (e.g. n8n, Make.com) or standard HTTP requests. Example: Retrieve Context
cURL
curl --request POST \
  --url https://api.qontext.ai/v1/retrieval \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: q_sk_***************' \
  --data '{
    "vaultId": "kg_681c0068-b589-4923-ac4a-73040fab7a45",
    "prompt": "Give me the following information regarding Harry Potter. 1) Who is he? 2) What is his relationship with Gryffindor Inc., Weasleys Wizard Wheezes, and Ollivanders?",
    "limit": 5,
    "depth": 1      
}'
Response:
{
    "data": [
        {
            "text": "*Harry Potter*: Harry Potter is the Project Lead at Gryffindor Inc. and a strategic advisor to multiple wizarding startups. He currently resides in London and focuses on defensive magic consulting.",
            "sources": [
                {
                    "source_integration": "Notion",
                    "source_data_type": "Page",
                    "source_id": "page_456",
                    "source_url": "https://www.notion.so/Harry-Potter-Bio-xyz"
                }
            ]
        },
        {
            "text": "*Harry Potter -> Gryffindor Inc. (works_at)*: Harry Potter serves as the Project Lead at Gryffindor Inc., where he has been employed since September 2025.",
            "sources": [
                {
                    "source_integration": "HubSpot",
                    "source_data_type": "Company",
                    "source_id": "comp_101",
                    "source_url": "https://app.hubspot.com/contacts/123/company/101"
                }
            ]
        },
        // More retrieved context would follow here
    ]
} 
You can connect your vaults to any MCP-compatible client by adding the Qontext MCP server endpoint to your client’s configuration settings: https://api.qontext.ai/mcp.

Next steps

Native Connectors

Continuously ingest Hubspot, Google Drive, and Notion data using our connectors.

Qontext API

Understand the options you have for ingesting and retrieving context via the API.

AI Workflows

Empower your AI Workflows in n8n, Make.com or Zapier by giving it context.

Chats

Connect to Claude via MCP or Gemini via our Agent to chat with your vaults.

Support

If you encounter any problems or questions, you can contact us via support@qontext.ai.