API reference

Assistant: Notebooks & Journal

What the assistant understands about you and keeps as notes: the About-you pages, the Your-world pages about your companies, family, projects, health, home and money with their lines, and the journal of your days. Read them, add and remove your own lines and journal entries, and decide the upkeep's suggestions. Every route takes an optional `lang` query parameter for the language of refusal messages (and of the texts the server writes): one of the app's languages, else your account's. 21 endpoints. Add your API key in the authentication panel to send test requests from this page.

Read your journal

GET/api/external/v1/assistant/journal

The journal of your days, newest first: settings (available, enabled, writeNowLeft today, today's date on your clock), today so far, days (days before before that have a page or lines) and nextBefore (send it as before for the next page of days; null at the end).

A day has day, status (DRAFT, WRITTEN, EMPTY, FAILED; null while it has no page), its page - summary, happenings, observations, learned, openLoops (lines of text), sources, writtenAt - and entries: the lines written into it as it went, each with id, at, kind (OBSERVATION, FACT, REPORTED, REFLECTION, NOTE), source (PERSON: you; AGENT: the assistant) and text.

Pages are written at night from your day, in the language you read the app in. Empty while the journal is not available to you.

Parameters

  • beforestring (date)query

    Days before this one (YYYY-MM-DD; exclusive). Default: today.

  • limitinteger (int32)query

    How many days (default 7, at most 30).

Responses

  • 200OK

Read one day of your journal

GET/api/external/v1/assistant/journal/days/{day}

One day (the shape of a day in GET /assistant/journal).

Errors: 404 DAY_NOT_FOUND when the day has neither a page nor lines.

Parameters

  • daystring (date)pathRequired

    The day, YYYY-MM-DD.

Responses

  • 200OK

Forget a day

DELETE/api/external/v1/assistant/journal/days/{day}

Forgets the day - its page and its lines - and it is never written again. Answers 204.

Errors: 404 DAY_NOT_FOUND for a day after today; 409 JOURNAL_UNAVAILABLE.

Parameters

  • daystring (date)pathRequired

    The day, YYYY-MM-DD.

Responses

  • 200OK

Write a line into today

POST/api/external/v1/assistant/journal/entries

Writes one line of yours into today (your clock), as in the app, and answers it (201).

Fields: text (required, at most 2000 characters) and kind (OBSERVATION, FACT, REPORTED, REFLECTION or NOTE; default REPORTED: what you tell about your day).

Errors: 400 MISSING_FIELD, INVALID_KIND, JOURNAL_TOO_LONG; 409 JOURNAL_OFF (switched off), JOURNAL_UNAVAILABLE.

Request body application/json

  • textstring
  • kindstring

Responses

  • 200OK

Correct a journal line

PATCH/api/external/v1/assistant/journal/entries/{entryId}

Replaces the text (required) of any line of your journal, the assistant's too. Answers the line.

Errors: 400 MISSING_FIELD, JOURNAL_TOO_LONG; 404 ENTRY_NOT_FOUND; 409 JOURNAL_UNAVAILABLE.

Parameters

  • entryIdstring (uuid)pathRequired

Request body application/json

  • textstring
  • kindstring

Responses

  • 200OK

Delete a journal line

DELETE/api/external/v1/assistant/journal/entries/{entryId}

Deletes one line of your journal. Answers 204.

Errors: 404 ENTRY_NOT_FOUND; 409 JOURNAL_UNAVAILABLE.

Parameters

  • entryIdstring (uuid)pathRequired

Responses

  • 200OK

Read your journal's months and years

GET/api/external/v1/assistant/journal/periods

The journal's pages of whole months and years, the latest first, as items: id (m:2026-10 or y:2026), kind (MONTH or YEAR), from, to, summary, milestones and openLoops.

Parameters

  • limitinteger (int32)query

    How many (default 60, at most 100).

Responses

  • 200OK

Forget a month's or year's page

DELETE/api/external/v1/assistant/journal/periods/{periodId}

Forgets the page of a month (m:2026-10) or a year (y:2026): it is emptied and never written again; the year a forgotten month belongs to is written again from the months that stay. The days are not touched. Answers 204.

Errors: 404 PERIOD_NOT_FOUND; 409 JOURNAL_UNAVAILABLE.

Parameters

  • periodIdstringpathRequired

    m:YYYY-MM for a month, y:YYYY for a year.

Responses

  • 200OK

Switch your journal on or off

PUT/api/external/v1/assistant/journal/settings

enabled (required). Off keeps what was written; nothing new is written while it is off. Answers the settings.

Errors: 400 MISSING_FIELD; 409 JOURNAL_UNAVAILABLE.

Request body application/json

  • enabledboolean

Responses

  • 200OK

Write today's page now

POST/api/external/v1/assistant/journal/write-now

Writes today's page from the day so far (status DRAFT; the night writes it again), a few times a day (settings.writeNowLeft). Answers the day.

Errors: 409 JOURNAL_OFF, JOURNAL_NONE_LEFT (no more today), JOURNAL_NOTHING_YET (nothing happened today to write from), JOURNAL_FORGOTTEN (you forgot today), JOURNAL_NOT_WRITTEN (it could not be written now), JOURNAL_UNAVAILABLE.

Responses

  • 200OK

Read the About-you pages

GET/api/external/v1/assistant/notebooks/about-you

What the assistant understands about you, one page per area (area), as the app's Understanding shows it. Each page has path, title, inShort (the summary lines, empty until the page was first tidied), summarizedAt, lines (what is current, in page order), earlier (what was replaced, newest first), updatedAt, updatedBy and href (where the app opens it). Each line has id, text, source (where it was learned: APP, CHAT, CALL, WHATSAPP, SMS, EMAIL, WORK, UPKEEP), at, reviewBy (when to ask about it again, or null) and theirs (you wrote it).

Empty before the assistant first noted something about you. Lines are added here by talking to the assistant or through /assistant/memory.

Parameters

  • langstringquery

    Language of the page titles and messages.

Responses

  • 200OK

Apply an upkeep suggestion

POST/api/external/v1/assistant/notebooks/suggestions/{suggestionId}/apply

Applies what the upkeep suggested for one of your lines, as your own edit. Answers the suggestion as applied.

Errors: 404 SUGGESTION_NOT_FOUND; 409 SUGGESTION_GONE (its line changed since, or it was decided already).

Parameters

  • suggestionIdstringpathRequired
  • langstringquery

Responses

  • 200OK

Dismiss an upkeep suggestion

POST/api/external/v1/assistant/notebooks/suggestions/{suggestionId}/dismiss

Leaves your line as it is and drops the suggestion. Answers 204.

Errors: 404 SUGGESTION_NOT_FOUND.

Parameters

  • suggestionIdstringpathRequired

Responses

  • 200OK

Read the notebooks' upkeep

GET/api/external/v1/assistant/notebooks/upkeep

How the assistant keeps both notebooks tidy at night: enabled (your switch), available (the workspace lets it run), duePages (pages waiting for tonight), recent (the last tidies: what each merged, moved to Earlier, rewrote and suggested), suggestions (what it would change in your own lines, for you to apply or dismiss: id, notebook, pageTitle, lineText, kind MERGE / OUTDATED / REWRITE, text, withLineText) and lastTidyNowAt.

Parameters

  • langstringquery

    Language of the page titles.

Responses

  • 200OK

Switch the notebooks' upkeep on or off

PUT/api/external/v1/assistant/notebooks/upkeep

enabled (required): whether the assistant tidies your notebooks at night. Answers the upkeep.

Errors: 400 MISSING_FIELD; 409 UNAVAILABLE.

Parameters

  • langstringquery

Request body application/json

  • enabledboolean

Responses

  • 200OK

Tidy the notebooks now

POST/api/external/v1/assistant/notebooks/upkeep/tidy

Has the pages that changed since their last tidy tidied now instead of tonight, in the background. Once a day. Answers the upkeep with what is now due.

Errors: 409 UPKEEP_OFF (your switch is off), UPKEEP_NOT_AVAILABLE, TIDY_ONCE_A_DAY, UNAVAILABLE.

Parameters

  • langstringquery

Responses

  • 200OK

List the Your-world pages

GET/api/external/v1/assistant/notebooks/world

The Your-world notebook: space (its id and app address; null before its first line) and pages without their lines - one per company, family member and project of yours that has one (ref.topic COMPANY, MEMBER or PROJECT with ref.ownerId), and HEALTH (while Health is on), HOME and MONEY. Read a page's lines with GET /assistant/notebooks/world/pages/{topic}.

Parameters

  • langstringquery

    Language of the page titles.

Responses

  • 200OK

Write a line on a Your-world page

POST/api/external/v1/assistant/notebooks/world/lines

Writes one line of yours on a page (the page, and your Your-world notebook, are made on first use), as you would type it in the app. Your lines are yours: the nightly upkeep never changes them, it only suggests.

Fields: topic and ownerId (as in GET .../pages/{topic}), text (required, at most 600 characters), replaces (the id of a line this one replaces: that line moves to Earlier), alsoKeep (write it even when lines close to it are there), reviewBy (YYYY-MM-DD: when the assistant should ask about it again).

Answers status with line and similar: ADDED or REPLACED (written, 201); ALREADY_KNOWN (the page says this already; line is the line that does; nothing written, 200); SIMILAR (close to the lines in similar; nothing written, 200 - send again with replaces or alsoKeep).

Errors: 400 MISSING_FIELD, INVALID_TOPIC, INVALID_ID, LINE_TOO_LONG, SENSITIVE_NUMBER (account and card numbers are never kept), PAGE_FULL, LINE_NOT_FOUND (replaces names no line of the page), INVALID_REVIEW_DATE, HEALTH_OFF; 404 OWNER_NOT_FOUND (no such company, family member or project of yours); 409 UNAVAILABLE.

Parameters

  • langstringquery

Request body application/json

  • topicstring
  • ownerIdstring
  • textstring
  • replacesstring
  • alsoKeepboolean
  • reviewBystring

Responses

  • 200OK

Remove a line from a Your-world page

DELETE/api/external/v1/assistant/notebooks/world/lines/{lineId}

Removes a line - a current one or one in Earlier, yours or the assistant's - from the page named by topic and ownerId. Answers 204. The page's history keeps every version, as in the app.

Errors: 400 INVALID_TOPIC, MISSING_FIELD, INVALID_ID; 404 LINE_NOT_FOUND.

Parameters

  • lineIdstringpathRequired
  • topicstringquery

    COMPANY, MEMBER, PROJECT, HEALTH, HOME or MONEY.

  • ownerIdstringquery

    The page's company, family member or project id (COMPANY, MEMBER, PROJECT only).

Responses

  • 200OK

Read a Your-world page

GET/api/external/v1/assistant/notebooks/world/pages/{topic}

One page with its lines and Earlier (the shape of an About-you page, with ref instead of area). page is null while nothing was written on it yet.

topic is COMPANY, MEMBER, PROJECT, HEALTH, HOME or MONEY; COMPANY, MEMBER and PROJECT take the company's, family member's or project's id as ownerId.

Errors: 400 INVALID_TOPIC, MISSING_FIELD (no ownerId where one is needed), INVALID_ID.

Parameters

  • topicstringpathRequired

    COMPANY, MEMBER, PROJECT, HEALTH, HOME or MONEY.

  • ownerIdstringquery

    The company's, family member's or project's id (COMPANY, MEMBER, PROJECT only).

  • langstringquery

    Language of the page's title.

Responses

  • 200OK