API

Structured context
on demand.

You have data in a dozen places. Your LLM needs context. Building the infrastructure to compose, filter, and structure that context isn't your job. That's our job. One API call, relevant context out.

REST + GraphQL Usage-based pricing Works with any LLM

You keep rebuilding the same context pipeline

Your LLM needs context. So you:

  1. Query your database for relevant records
  2. Fetch from your docs/wiki
  3. Pull recent tickets or conversations
  4. Filter for what's actually relevant
  5. Format it so the LLM can use it
  6. Stuff it into the prompt
  7. Hope you didn't exceed the context window

This isn't your core product. It's plumbing. And you keep rebuilding it for every feature.

One API call. Context composed.

1

Connect your sources

Databases, docs, tickets, CRMs, repos. We provide connectors or you push via API. Your data stays in your systems.

2

Define your context needs

"For customer support, I need: recent tickets, relevant docs, customer history." Declarative schemas, not imperative code.

3

Call the API

Pass a query or entity. Get back structured context, filtered by relevance, sized to fit your context window.

4

Send to your LLM

The context package is LLM-ready. Works with OpenAI, Anthropic, local models - any provider. Your choice.

What it looks like

Request
POST /v1/compose

{
  "context_type": "customer_support",
  "query": "Customer asking about billing discrepancy",
  "entity": {
    "customer_id": "cust_abc123"
  },
  "constraints": {
    "max_tokens": 4000,
    "recency": "90d",
    "relevance_threshold": 0.7
  }
}
Response
{
  "context": {
    "customer": {
      "name": "Acme Corp",
      "plan": "Team",
      "mrr": 2000,
      "since": "2023-06-15"
    },
    "recent_tickets": [
      { "id": "TKT-1234", "subject": "Upgrade inquiry", "status": "resolved" },
      { "id": "TKT-1198", "subject": "API rate limits", "status": "resolved" }
    ],
    "relevant_docs": [
      { "title": "Billing FAQ", "excerpt": "...", "url": "..." },
      { "title": "Plan comparison", "excerpt": "...", "url": "..." }
    ],
    "billing_history": [
      { "date": "2024-01-01", "amount": 2000, "status": "paid" },
      { "date": "2023-12-01", "amount": 1500, "status": "paid" }
    ]
  },
  "tokens_used": 3847,
  "sources_queried": 4,
  "receipt_id": "rcpt_xyz789"
}

Context is structured, cited, and sized to fit. Receipt ID lets you audit what was accessed.

Use cases

Customer Support AI

Agent needs customer history, relevant docs, recent tickets. Compose once, answer accurately.

Sales Intelligence

Before a call: company info, past interactions, relevant case studies. All structured, all current.

Code Review Assistants

PR context, related code, recent changes to affected files, style guidelines. Relevant context, not everything.

Internal Q&A Bots

Employee asks a question. Compose from docs, policies, past answers. Cite sources, not hallucinations.

What you get

Smart filtering

Not everything is relevant. We score by semantic similarity, recency, and your defined priorities. Only useful context makes it.

Token-aware sizing

Specify your limit. We truncate intelligently, preserving the most important information first.

Source citations

Every piece of context knows where it came from. Your LLM can cite sources. Users can verify.

Receipts included

Every composition logged. What was queried, what was returned, when. Compliance-ready audit trail.

Schema flexibility

Define your context shapes. "Support context needs X, Y, Z. Sales context needs A, B, C." We compose accordingly.

Your LLM, your choice

We compose context. You send it wherever. OpenAI, Anthropic, Mistral, local models. No lock-in.

Supported sources

Data

  • PostgreSQL
  • MySQL
  • MongoDB
  • REST APIs

Docs

  • Notion
  • Confluence
  • Google Docs
  • Markdown files

Tickets

  • Linear
  • Jira
  • Zendesk
  • Intercom

Code

  • GitHub
  • GitLab
  • Bitbucket
  • Local repos

Custom connectors available. Push your own data via API if you prefer.

Usage-based pricing

Pay for what you use. No seat licenses. No minimum commitments.

Composition requests $0.002/request
Source queries $0.0005/query
Data indexed $0.10/GB/month

Example: 50,000 compositions, 200,000 source queries, 10GB indexed = ~$210/month

Volume discounts available. Enterprise plans with SLAs on request.

Join the waitlist

Context Composer API is in private beta. We're onboarding teams building AI features who want context composition without the infrastructure overhead.

Request Access

We'll discuss your use case and help you get started.

Need more than API?

If you need a full context plane (not just composition), or want to build your own infrastructure, we have options.