Resources

API reference

The Context API lets your agents and tools retrieve structured context from your synced AI history.

Authentication

All requests require a scoped bearer token. Create tokens from your dashboard and pass them in the Authorization header.

curl https://api.nessie.rest/v1/context/query \
  -H "Authorization: Bearer $NESSIE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "query": "What did we decide about pricing?", "limit": 5 }'

Endpoints

  • POST/v1/context/queryRetrieve relevant context with citations.
  • GET/v1/sourcesList connected sources and sync status.
  • POST/v1/sources/syncTrigger an incremental sync for a source.
  • GET/v1/conversationsPage through ingested conversations.

Example response

{
  "results": [
    {
      "id": "ctx_9f2a",
      "summary": "Agreed on usage-based pricing with a free tier.",
      "source": "claude",
      "cited_at": "2026-05-18T14:22:00Z",
      "score": 0.92
    }
  ]
}