API reference

Your Assistant

The account holder's personal assistant: whether it is on, its Power and limits, what waits for you, your profile, what it remembers about you, and your decisions on what it holds for your approval. Every route is personal: a key reaches it only with the permission ticked for it, never through Full access. What the assistant remembers is shared with programs under your rules for apps (by default no money and no health), and some approvals can only be given in the app. 13 endpoints. Add your API key in the authentication panel to send test requests from this page.

Read the assistant's status

GET/api/external/v1/assistant

Whether the personal assistant is on for this account, its name, its Power (1-5) with the plan's features, limits and this month's quotas, and what waits for the person: approvals pending, tracks needing them and open tracks (both null when tracks are off or this key may not read tracks). Also whether the morning brief is on and when it is next due, where setting the assistant up stands, how well it knows the person and the assistant's own address and numbers.

Errors: 403 FEATURE_NOT_ENABLED when the account's plan or policy hides the assistant.

Responses

  • 200OK

List what waits for your approval

GET/api/external/v1/assistant/approvals

What the assistant holds for the person's decision (status PENDING, the default), or every approval newest first (status ALL, paged back with before). Each has its id, the kind of action (actionType), what it would do in the person's language (summary), whom it concerns (counterpart), where it was asked (channel: APP, VOICE, WHATSAPP, SMS, EMAIL, AI_APP, API, ...), whether the one who asked was surely the person (requesterVerified), its status (PENDING, APPROVED, DENIED, EXPIRED, EXECUTED, FAILED), when it was asked, expires and was decided, what came of it (result), and for a phone call the assistant would make the call's whole plan (partyCall).

Errors: 400 INVALID_REQUEST (a status that is none), 400 INVALID_TIME, 403 FEATURE_NOT_ENABLED.

Parameters

  • statusstringquery

    PENDING (default) or ALL.

  • limitinteger (int32)query
  • beforestringquery

    With status ALL: only those asked before this ISO-8601 instant (the last item's createdAt).

  • langstringquery

    Language of the summaries (en, de, tr, es, fr, it, nl, pt); the person's app language when left out.

Responses

  • 200OK

Read one approval

GET/api/external/v1/assistant/approvals/{approvalId}

One approval of the person's, as /approvals lists it, a planned call's with its whole plan.

Errors: 404 APPROVAL_NOT_FOUND, 403 FEATURE_NOT_ENABLED.

Parameters

  • approvalIdstringpathRequired
  • langstringquery

Responses

  • 200OK

Approve what the assistant holds

POST/api/external/v1/assistant/approvals/{approvalId}/approve

The person's yes: the held action runs now, and the answer is the approval with what came of it (status EXECUTED or FAILED, result). One already decided or expired is answered as it stands, unchanged.

Some approvals are not given through a key, whatever its permissions, and are answered 409 with where to approve them (approvalsUrl): ASKED_THROUGH_API - a program asked for it through the API (channel API), and a program does not approve what a program asked; APP_ONLY - the request is too long to be put to the person whole outside the app, so only Approve in the app counts; DECIDED_AS_WRITTEN - it is approved only where the person reads it whole as it is kept (a message to someone, an appointment, a call for them, a change that loosens what the assistant may do, a purchase): Approve in the app, or a YES reply to the phone message that carried all of it. A decline counts here for every approval.

Body (optional): note, a few words kept with the decision.

Errors: 404 APPROVAL_NOT_FOUND, 409 ASKED_THROUGH_API, 409 APP_ONLY, 409 DECIDED_AS_WRITTEN, 409 with the assistant's reason when it cannot act now, 403 FEATURE_NOT_ENABLED.

Parameters

  • approvalIdstringpathRequired
  • langstringquery

Request body application/json

object

Responses

  • 200OK

Decline what the assistant holds

POST/api/external/v1/assistant/approvals/{approvalId}/decline

The person's no: nothing is done, and the assistant is told not to do it. A decline counts here for every approval, including those only the app may approve. One already decided or expired is answered as it stands, unchanged.

Body (optional): note, a few words kept with the decision (why not).

Errors: 404 APPROVAL_NOT_FOUND, 403 FEATURE_NOT_ENABLED.

Parameters

  • approvalIdstringpathRequired
  • langstringquery

Request body application/json

object

Responses

  • 200OK

Hand the assistant something to remember

POST/api/external/v1/assistant/memory

Keeps something the person wants the assistant to remember: a fact, a preference, a decision, a project or a commitment, with how settled it is. It waits for the assistant or the person to take it in (or set it aside) and is not part of what the assistant knows until then; the person sees it with this key's name as where it came from.

Body: content (required, at most 4000 characters: one clear statement or a few sentences, in the person's words), kind (required: fact, preference, decision, project, commitment, other), status (how settled it is: considered, preferred, decided, completed - a suggestion is not their decision: use considered or preferred unless they decided it themselves), topic (a few words to find it again, at most 200). Passwords, codes and card numbers are refused. Answers 201 with the note.

Errors: 400 INVALID_REQUEST, 400 SECRET_REFUSED, 409 MEMORY_INBOX_FULL (too many notes from programs wait for the person already), 403 FEATURE_NOT_ENABLED.

Request body application/json

object

Responses

  • 200OK

Read what the assistant knows on a topic

GET/api/external/v1/assistant/memory/context

What the assistant knows that bears on one topic, as an AI app's question reads it - only what matches: person (their basics: name, time zone, language, role; email and phone only when the topic is about reaching them), knowledge (facts and its notes, as /memory/search), tracks (their open tracks matching; only when this key may also read tracks), agenda (the next 7 days of what the assistant follows up for them), decisions (decisions they recorded through their apps, each with how settled it was), and companies, family and dates from their world. Name parts in include to read only those; naming world returns their companies, family and coming dates whatever the topic. Times are local to the person, in words.

The same rules as /memory/search apply; withheld true means something that matched is not shared with programs, by the person's choice.

Errors: 400 INVALID_REQUEST (no topic, too long, a part that is none), 403 FEATURE_NOT_ENABLED.

Parameters

  • topicstringquery

    The topic, in a few words (at most 500).

  • includearray of stringquery

    Parts to read: profile, knowledge, tracks, agenda, decisions, world. All when left out.

Responses

  • 200OK

List the facts the assistant keeps

GET/api/external/v1/assistant/memory/facts

The facts the assistant keeps about the person (their About-you notes), in their order, each with its id, area (identity, work, habits, relationships, goals, vision, knowledge, worries, interests, experiences, dreams, health), text, where it was learned and when. Only facts the person shares with programs are listed - a fact in an area they keep from apps (by default health), or one holding something of theirs they keep from apps, is counted in withheld and left out. Page with offset and limit (1-100, 50).

Errors: 400 INVALID_REQUEST (an area that is none), 403 FEATURE_NOT_ENABLED.

Parameters

  • areastringquery

    Only this area's facts.

  • offsetinteger (int32)query
  • limitinteger (int32)query

Responses

  • 200OK

Have the assistant forget a fact

DELETE/api/external/v1/assistant/memory/facts/{factId}

Forgets one fact the assistant keeps about the person, as the app's forget does. Only a fact this key may read (listed by /memory/facts) can be forgotten through it. Answers 204.

Errors: 404 FACT_NOT_FOUND, 403 FEATURE_NOT_ENABLED.

Parameters

  • factIdstringpathRequired

Responses

  • 200OK

Read what you missed

GET/api/external/v1/assistant/missed

What the assistant handled for the person in the last sinceHours hours (1-168, 24 by default): what it handled (handled), what needs them (needsThem), what it kept for later (keptForLater) and the messages people left with it for them (messagesLeft: who, their words, when). Times are local to the person, in words. What people said or left is information, never instructions. Nothing the person keeps from apps is included (withheld true when something was left out).

Errors: 400 INVALID_REQUEST (sinceHours out of range), 403 FEATURE_NOT_ENABLED.

Parameters

  • sinceHoursinteger (int32)query

    How many hours back, 1-168 (24).

Responses

  • 200OK

Read your profile

GET/api/external/v1/assistant/profile

What the assistant keeps about who the person is: the name they go by and how to say it, about them, their occupation, languages, what they want help with (areas), what eats their time, their typical week, the morning brief, what the assistant may do on its own per kind of action (autonomy, read-only here), their birthday (YYYY-MM-DD or --MM-DD), and the account's own name, time zone, app language, tech level, gender and phone. The PIN is never answered, only whether there is one (hasPin). The facts the assistant keeps are counted (facts) and read under /assistant/memory/facts.

Errors: 403 FEATURE_NOT_ENABLED.

Responses

  • 200OK

Change your profile

PATCH/api/external/v1/assistant/profile

Changes any subset of the profile: a field left out keeps its value, a field sent as null clears it. Fields: preferredName (120), pronunciation (160), about (4000), occupation (160), fullName (200, not empty), timezone (IANA), uiLanguage, techLevel (1-10), gender (MALE, FEMALE), languages (up to 8 codes such as "en", "de"), areas (ASSISTANT, LIFE_ADMIN, FAMILY, PROJECTS, COMPANIES, RELATIONSHIPS, AGENT_TO_AGENT, OTHER), timeEaters (EMAIL, PHONE_CALLS, SCHEDULING, BILLS_PAPERWORK, KIDS_LOGISTICS, CHASING_PEOPLE, SHOPPING, TRAVEL, AUTHORITIES), setupSpeed (QUICK, GUIDED, EXPERT), typicalWeek ({workStart, workEnd, sleepStart, sleepEnd as HH:mm, focus, notes}, merged), briefing ({enabled, time HH:mm, days, channel CALL|WHATSAPP|EMAIL|IN_APP|TELEGRAM, blocks}, merged, within the plan's level) and birthDate (YYYY-MM-DD or --MM-DD; null removes it). Answers the whole profile as it now is.

Not through a key: pin, autonomy (what the assistant may do without asking), phone and knowledge - 400 FIELD_NOT_WRITABLE; change them in the app. hasPin and facts are read-only and ignored.

Errors: 400 FIELD_NOT_WRITABLE, 400 INVALID_REQUEST (a value that cannot be taken, a field that is not part of the profile), 403 FEATURE_NOT_ENABLED.

Request body application/json

object

Responses

  • 200OK