Search and answers — search returns the passages that match a question, with pages and a link to the original; ask returns a short answer.
On this pageResources for AI
- Resources for AI
- A signed-in user's token
- What the API covers
- The shape of a request
- Endpoints
- Import documents
- POST /ingest
- GET /jobs/{job_id}
- Search and ask
- POST /search
- POST /ask
- Folders and what they hold
- GET /folders/summary
- GET /folders
- GET /folders/{id}
- GET /documents
- Read documents
- GET /documents/{id}
- POST /documents/batch
- GET /documents/{id}/content
- GET /documents/{id}/tags
- When a call fails
- Want early access to the API?
API reference
Every public endpoint, in one place
The endpoints the Hippocampus web app uses for import, search, answers and reading, with their fields, streaming, jobs and errors.
Resources for AI
Coding agent
Your coding agent (Claude, Cursor, Codex or another) reads our skill file and sets up Hippocampus in your project by itself.
API clients
Your API client (Postman, Insomnia or Bruno) imports every request with example responses; run Sign in first and the token is set for you.
OpenAPI 3.1
Client generators, Swagger UI and other API tools read every endpoint from this file, in the standard format.
Chat assistants
Your chat assistant (ChatGPT, Claude or Gemini) answers questions about the API from our docs, all in one file.
Authentication
A signed-in user's token
Every request carries an Authorization: Bearer <token> header. The token is the ID token of a signed-in Hippocampus user and lasts about an hour, so a script refreshes it the way any sign-in does. A call reaches only what that user may read.
There are no API keys: today you connect through MCP, which signs you in in the browser (see the MCP page). While the REST API is in early access, a script signs in as its own user, with the folders it needs shared to it.
The surface
What the API covers
Documents — import a source and track how it has been broken into sections.
Browse and read — list folders, read a document's text or download the original.
Jobs — check the status of an import.
Errors — the shape of a failure from each service.
Illustrative
The shape of a request
A document imported, and a question answered from what has been imported. Endpoints and fields are not final.
curl -X POST /ingest \
-H "Authorization: Bearer $HIPPOCAMPUS_TOKEN" \
-F "[email protected]" client.documents.create(
file="q3-renewals.pdf",
) await client.documents.create({
file: "q3-renewals.pdf",
}); Illustrative only — not a live contract yet.
Reference
Endpoints
The API has two services, and both take the same token. The core imports, searches and answers; the vault holds folders and documents. Which core and vault serve your workspace depends on its release channel. The examples below use https://hippocampuscore.thalius.ai for the core and https://hippocampusvault.thalius.ai for the vault; if a call answers 409 with code: wrong_channel, your workspace is served by another channel, and the answer's core_url names the core to send it to.
Every endpoint below has a request in cURL, Python and JavaScript and a trimmed response.
Import
Import documents
Upload files to the core. Each file is read, split into sections and summarised, then filed in the folder you name. A job tracks the work.
Core
POST /ingest
Core
GET /jobs/{job_id}
Search and answers
Search and ask
Search returns the passages that match a question, each with its pages and a link to the original. Ask returns a short answer written by the model.
Core
POST /search
Core
POST /ask
Browse
Folders and what they hold
Folder summaries come from the core; folders and document lists come from the vault.
Core
GET /folders/summary
Vault
GET /folders
Vault
GET /folders/{id}
Vault
GET /documents
Read
Read documents
The vault returns a document's text, its tags and the original file.
Vault
GET /documents/{id}
Vault
POST /documents/batch
Vault
GET /documents/{id}/content
Errors
When a call fails
Clients
For now
curl and our MCP server both work today. Official Python and TypeScript SDKs are planned before general availability.
Want early access to the API?
We are onboarding design partners now.