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

read

Call 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

sayOpening lines, to say as written. The last line states coverage per app.
holdsItem count, count by kind, the newest item date and the apps it came from.
accountsPer app: status, last sync, whether the first read is done, and freshness in words.
openThe nearest promises due and replies owed, with totals split by whose they are.
importantThe people and companies that matter right now.
search_tipsHow to search this brain: its biggest source, how to name a subject, what a date means.

apex_get

read

Opens 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 requiredstringAn id from a search, like People/Dana Whitfield or Documents/Pricing v3, or a person's or company's name.
seqintegerFor a document: which passage to open, from the outline or a hit's passage.seq.

Returns

title, summary, points, textThe item itself.
date, date_isdate_is says what the date means: sent, held, scheduled, modified, updated or written.
outline, passageFor a document: headings with their seq, and the passage opened.
linkThe original at its source, when Apex has one. Give it as is.
addresses, works_at, linkedFor a person or company: email addresses, employers with known_from, and counts, newest items and top connections.
retired, retired_asThe item is hidden: wrong, forgotten or gone from the source. Not current.

apex_whats_new

read

What 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 requiredYYYY-MM-DD or timestampEverything learned at or after this, e.g. 2026-10-01 or 2026-10-01T07:30:00Z.
kindsstring[]Only these kinds. Leave out document when a bulk upload floods the window.
subjectsintegerPeople or companies per page, most changed first, 1 to 25. Default 8.
budget_tokensintegerRough size cap, 200 to 20000. Default 2000.
cursorstringnext_cursor from the last result, with the same parameters.

Returns

groupsOne per subject: its items, its new commitments, and shown of total.
ungroupedNew items about nobody in particular.
countsTrue totals for the whole window: items, commitments and subjects.
more, next_cursorMore 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

write

Saves 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 requiredstringThe fact as a short statement, up to 120 characters, e.g. "Dana prefers calls on Tuesdays".
summary requiredstringOne or two sentences saying what is true.
kindenumthought (default) a fact. task something someone means to do.
linksstring[]Ids or exact titles of the people, companies or items it is about.

Returns

idThe saved note.
linked, skipped_linksWhich links were made, and which names Apex could not find.
replacedThe earlier note with the same title, when there was one.
recallableTrue 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

write

Fixes 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

kindenumRequired 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.
targetstringRequired unless undoing. What to correct, by title or id: a person or company, an item id, or an insight id for done.
intostringThe 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_mebooleanFor me: true (default) this person is the user, false they are not.
reasonstringWhy, in plain words. Stored on the correction.
undostringA correction id to undo. Pass nothing else with it.

Returns

idThe correction, for undo.
kind, targetWhat was corrected.
didWhat changed, in words.
undoableWhether it can be undone.

Example arguments

{
  "kind": "works_at",
  "target": "Dana Whitfield",
  "into": "Marshfleet"
}

apex_forget

write

Removes 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 requiredstring[]1 to 50 ids from apex_search or apex_get.

Returns

removedDeleted: notes an AI saved.
hiddenHidden: items from a connected app.
unknownIds 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.

CodeMeaning
invalid_inputA 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_foundNo item, person or tool by that name. Search for a valid id.
not_permittedThe credential lacks the scope the tool needs.
rate_limitedToo many calls. Wait retry_after_seconds, then try once.
failedA 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 401 whose WWW-Authenticate header 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.