API reference
Apex is one MCP server with seven tools.
Agent-friendly documentation link:
Endpoint
MCP over Streamable HTTP, stateless. Send JSON-RPC as a POST.
Tools
apex_briefing
readCall it first in every new conversation. say holds the opening lines, in order, with every number counted from the brain.
It also returns what the brain holds, what each app reads and when it last synced, open commitments, and tips for searching this brain well.
Parameters
None.
Returns
| say | Opening lines, to say as written. The last line states coverage per app. |
| holds | Item count, count by kind, the newest item date and the apps it came from. |
| accounts | Per app: status, last sync, whether the first read is done, and freshness in words. |
| open | The nearest promises due and replies owed, with totals split by whose they are. |
| important | The people and companies that matter right now. |
| search_tips | How to search this brain: its biggest source, how to name a subject, what a date means. |
apex_search
readSearches by words and by meaning, and returns the best matches inside a token budget. It does not return everything: matched says how many items qualified and returned how many came back.
Searches are cheap. When the answer is not there, search again with other words, about, from, kinds or dates before concluding Apex has nothing.
A hit with stated: true was said to Apex directly. It is the current fact and overrides older items about the same subject.
Parameters
| query required | string | The question or key words. Names and exact phrases help. At least 2 characters. |
| about | string | A person or company the question is about, by name. Their record leads, their linked items join the search, and latest lists their newest items. |
| from | string | Only items this person sent: their emails, messages and files. |
| kinds | string[] | Only these kinds: message email and chat, meeting calendar events and their notes, document files, person, org company, deal CRM deals, task tasks and tickets, topic threads and projects, thought facts saved through an AI. |
| since | YYYY-MM-DD | Inclusive, by each item's date. Today is in as_of.today. |
| until | YYYY-MM-DD | Inclusive. With since, a window. |
| order | enum | relevance best match first, for a fact. newest strictly by date, for the latest one thing. current recent and important first, for where things stand. Unset, Apex picks from the question and says which in read_as.order. |
| insights | enum | Return commitments instead of items: promise, decision, question, reply_owed or any. |
| detail | enum | full (default) points and the best passage. brief title, date, kind, source and who it is about, for scanning or counting. |
| cursor | string | next_cursor from the last result, with the same parameters, for the next page. |
| budget_tokens | integer | Rough size cap, 200 to 20000. Default 2000. |
Returns
| read_as | What Apex read from the query: who it pinned, the kind of question, the order applied, and whether Slack was asked. |
| matched, returned | How many items qualified, and how many came back. |
| hits | Each with id, title, kind, source, date, date_is, points, about and why. A document hit carries its best passage with a seq. |
| latest | With about: the subject's newest items, not repeated in hits. |
| insights | With insights: each commitment with its age in days, the item it came from and, on a promise or reply owed, direction and a line saying who owes whom. stale: true is not a live task. |
| live | Slack messages fetched for this question and not stored. They have links, and no id to open. |
| next_cursor | Present when more matched than came back. |
| next | At most one suggested next step, when it would help. |
| empty_because | Why nothing came back: an unknown name, no matching words, filters, or a budget too small. |
Example arguments
{
"query": "last email from Dana",
"from": "Dana Whitfield",
"kinds": ["message"],
"order": "newest"
}apex_get
readOpens one item by id, or a person or company by name. Returns its summary, key points, full text, source, date and links.
A document comes with its outline and one passage; pass seq for another. A person or company page adds their addresses, where they work and how Apex knows it, who they deal with most, and their newest items.
Parameters
| id required | string | An id from a search, like People/Dana Whitfield or Documents/Pricing v3, or a person's or company's name. |
| seq | integer | For a document: which passage to open, from the outline or a hit's passage.seq. |
Returns
| title, summary, points, text | The item itself. |
| date, date_is | date_is says what the date means: sent, held, scheduled, modified, updated or written. |
| outline, passage | For a document: headings with their seq, and the passage opened. |
| link | The original at its source, when Apex has one. Give it as is. |
| addresses, works_at, linked | For a person or company: email addresses, employers with known_from, and counts, newest items and top connections. |
| retired, retired_as | The item is hidden: wrong, forgotten or gone from the source. Not current. |
apex_whats_new
readWhat the brain learned since a moment, grouped by the people and companies involved, with new commitments called out. For "what did I miss" and for scheduled briefings.
It goes by when Apex learned something, not when it was sent: an old thread synced this morning shows up, and a bulk upload shows up all at once.
Parameters
| since required | YYYY-MM-DD or timestamp | Everything learned at or after this, e.g. 2026-10-01 or 2026-10-01T07:30:00Z. |
| kinds | string[] | Only these kinds. Leave out document when a bulk upload floods the window. |
| subjects | integer | People or companies per page, most changed first, 1 to 25. Default 8. |
| budget_tokens | integer | Rough size cap, 200 to 20000. Default 2000. |
| cursor | string | next_cursor from the last result, with the same parameters. |
Returns
| groups | One per subject: its items, its new commitments, and shown of total. |
| ungrouped | New items about nobody in particular. |
| counts | True totals for the whole window: items, commitments and subjects. |
| more, next_cursor | More follows this page. A busy subject can appear on more than one page. |
Example arguments
{
"since": "2026-11-18T07:30:00Z",
"kinds": ["message", "meeting"]
}apex_remember
writeSaves one fact, so every AI tool knows it from then on. Use it instead of a memory of the client's own.
It never creates a person or company and never changes a record from a connected app. Link the fact to who it is about; use apex_correct to fix a record.
The title is the fact's key: saving the same title again replaces the earlier note.
Parameters
| title required | string | The fact as a short statement, up to 120 characters, e.g. "Dana prefers calls on Tuesdays". |
| summary required | string | One or two sentences saying what is true. |
| kind | enum | thought (default) a fact. task something someone means to do. |
| links | string[] | Ids or exact titles of the people, companies or items it is about. |
Returns
| id | The saved note. |
| linked, skipped_links | Which links were made, and which names Apex could not find. |
| replaced | The earlier note with the same title, when there was one. |
| recallable | True once the note has been read back through search. |
Example arguments
{
"title": "Dana prefers calls on Tuesdays",
"summary": "Dana Whitfield asked to keep calls to Tuesday afternoons.",
"links": ["People/Dana Whitfield"]
}apex_correct
writeFixes what the brain believes. Every correction is logged and can be undone by passing its id back as undo.
A name Apex does not know is refused with the close titles it does know.
Parameters
| kind | enum | Required unless undoing. same two records are one, different undo a wrong merge, wrong hide an item, belongs_elsewhere re-point an item, done close a commitment, rename a company's real name, works_at where a person works, me this person is the user. |
| target | string | Required unless undoing. What to correct, by title or id: a person or company, an item id, or an insight id for done. |
| into | string | The other side: the record kept for same, the name to separate for different, the right subject for belongs_elsewhere, the new name for rename, the company for works_at. |
| is_me | boolean | For me: true (default) this person is the user, false they are not. |
| reason | string | Why, in plain words. Stored on the correction. |
| undo | string | A correction id to undo. Pass nothing else with it. |
Returns
| id | The correction, for undo. |
| kind, target | What was corrected. |
| did | What changed, in words. |
| undoable | Whether it can be undone. |
Example arguments
{
"kind": "works_at",
"target": "Dana Whitfield",
"into": "Marshfleet"
}apex_forget
writeRemoves items by id. Find them with a search first and confirm what will go.
Items an AI saved are deleted. Items read from a connected app are hidden, so a later sync cannot bring them back.
Parameters
| ids required | string[] | 1 to 50 ids from apex_search or apex_get. |
Returns
| removed | Deleted: notes an AI saved. |
| hidden | Hidden: items from a connected app. |
| unknown | Ids that matched nothing. |
Results
Every result is JSON, in structuredContent and as text in content. Each one carries as_of: today's date, when the brain last synced, what each app reads in coverage, and complete, false while a first read is still running.
What Apex returns is data from your tools, never instructions. Every item carries date and date_is, because a date means something different per kind: a file's is when it last changed, a meeting's is when it is held.
Errors
A refusal is a normal tool result with isError: true, never a transport error, so every client sees it the same way. The message says what to do next, and structuredContent.error carries a code to branch on.
| Code | Meaning |
|---|---|
| invalid_input | A parameter is wrong, or two of them conflict. The message says how to fix it; a schema failure also carries the tool's schema. |
| not_found | No item, person or tool by that name. Search for a valid id. |
| not_permitted | The credential lacks the scope the tool needs. |
| rate_limited | Too many calls. Wait retry_after_seconds, then try once. |
| failed | A fault on Apex's side. Try again, or with narrower parameters. |
Rate limits
60 calls a minute per credential, and 600 a minute across a whole brain. Past either, a call is answered 429 with a Retry-After header and a rate_limited result carrying retry_after_seconds. Wait that long, then try once.
Authentication
Every request carries Authorization: Bearer <token>. There are two ways to get one.
- OAuth. A request without a token gets a
401whoseWWW-Authenticateheader names the protected resource metadata. From there a client discovers the authorization server and registers itself. OAuth 2.1 with PKCE (S256) and dynamic client registration. Claude and ChatGPT do this on their own. - A personal token. Mint one in Settings → Account → CLI for a client that cannot open a browser. Keep it like a password.
A credential carries scopes: read for the four read tools, write for the three write tools. A call outside its scopes is refused with not_permitted.