API reference

Team assistant

The shared assistant of a project team: each member talks to it in a private thread, tells it notes for the team, reads its feed (digests, notices, briefs) and decides what of theirs reaches it. The team's managers switch it on and set how it behaves. Every call acts as the key's account in the teams it is a member of; a team it is not in answers 404 TEAM_NOT_FOUND. Refusals carry a stable `code` (and the service's own `reason`) with a message in `lang` when given, else in the account's language. 21 endpoints. Add your API key in the authentication panel to send test requests from this page.

List your teams with a team assistant

GET/api/external/v1/team-assistant

The member's teams (not archived) whose assistant is on - teams: {teamId, teamName, name, kiAsks, mine, myAssistantOn} (mine is the sharing in force for them; myAssistantOn: they keep their own assistant switched on for that team) - and what waits for them across those teams: pendingNotes, their notes waiting for their yes, newest first, each with teamName and assistantName.

Responses

  • 200OK

Read what team assistants wrote you

GET/api/external/v1/team-assistant/inbox

The team assistants' own messages to the member across their teams - answers, nudges, briefs, catch-ups in their threads and what the feeds hold for them (a managers' digest only for managers) - created after since (an ISO instant; left out: all), newest first, at most limit (1-100, default 50). newest is the cursor to send as since next time. Only finished messages, each under the moment it was written first: an answer still being written shows up once it is done, under the moment it was asked - to wait for one answer, poll that team's changes. Never anything off the record. Errors: 400 INVALID_TIME.

Parameters

  • sincestringquery

    Messages created after this ISO instant.

  • limitinteger (int32)query

Responses

  • 200OK

Read a team's assistant

GET/api/external/v1/teams/{teamId}/assistant

The team assistant as the member sees it: name (its name for the team), enabled (the managers switched it on), manages (the member may change its settings), mayTalk (the member may write in their own thread now), the managers' settings (without the house rules instructions for members who do not manage), the member's own sharing mine and what is in force effective, and counts: notes (ACTIVE notes the member may know of), pendingMine (their notes waiting for their yes), unreadMine / unreadFeed, answersToday / answersMax (the team's answers today and its daily budget by the owner's level; null = no limit), jointSharesWaiting.

Answers even while the assistant is off, so a manager can switch it on. Errors: 404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id (a team the account is a member of).

Responses

  • 200OK

Poll what changed in your thread and the feed

GET/api/external/v1/teams/{teamId}/assistant/changes

Messages of the member's thread and the team's feed written or changed after since (an ISO instant; left out: from the start), oldest change first, and now: the cursor to send as since next time. An answer being written shows up again when it is DONE, FAILED or LIMIT. Use it to wait for an answer after POST .../messages. Errors: 404 TEAM_NOT_FOUND, 400 INVALID_TIME.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • sincestringquery

    The cursor: `now` of the previous answer, or an ISO instant.

Responses

  • 200OK

Read the team assistant's feed

GET/api/external/v1/teams/{teamId}/assistant/feed

The team's feed: digests (a managers' digest only for the managers), notices (a clash, a risk, a gap; that it was switched on; that the project is open), reports, decisions, weekly checks, handovers and proposals it posted. Messages as in the thread; oldest first within the page, more and before for older ones, limit 1-100 (default 50). Errors: 404 TEAM_NOT_FOUND, 400 INVALID_TIME.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • beforestringquery

    Messages created before this ISO instant.

  • limitinteger (int32)query

Responses

  • 200OK

Say yes or no to sharing an agreement

POST/api/external/v1/teams/{teamId}/assistant/joint-shares/{jointShareId}/decide

The member's word on an agreement with a teammate on its way to the team assistant: share: true (when both said yes it becomes a TEAM note, category DECISIONS, either may withdraw it later) or false (never refused; a note already written is withdrawn). Answers the joint share. Errors: 404 JOINT_SHARE_NOT_FOUND, 400 MISSING_FIELD.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • jointShareIdstring (uuid)pathRequired

    The joint share's id.

Request body application/json

object

Responses

  • 200OK

List what the team assistant heard from you

GET/api/external/v1/teams/{teamId}/assistant/ledger

"Heard from me": everything of the member's that reached the team assistant, newest first - their notes in every state, agreements shared, what they passed on, questions asked around they answered, decisions they drafted or confirmed, changes their own assistant proposed - and the read categories in force (kind READ: read live, never kept). Each line {kind, id, title, line, state, at, mayWithdraw, href}; mayWithdraw says it can be taken back (POST .../ledger/withdraw). Never another member's. Texts in lang. Errors: 404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • langstringquery

    Language of the lines (en, tr, de, es, fr, it, nl, pt).

Responses

  • 200OK

Take back something it heard from you

POST/api/external/v1/teams/{teamId}/assistant/ledger/withdraw

Takes a line of the ledger back: kind (NOTE, AGREEMENT, RELAY, ASK, DECISION, PROPOSAL, READ) and id as the ledger lists them - a note or an agreement's note withdrawn, a relay, a proposal or a draft decision of theirs withdrawn, a read category set to NEVER. Never refused for what lets less through. Answers 204. Errors: 404 TEAM_NOT_FOUND or NOT_FOUND (no such line), 400 MISSING_FIELD or INVALID_FIELD, 403 NOT_ALLOWED (that line cannot be taken back).

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • langstringquery

Request body application/json

object

Responses

  • 200OK

Read your thread with the team assistant

GET/api/external/v1/teams/{teamId}/assistant/messages

The member's private thread (only they read it): their messages (kind PERSON) and its answers (ANSWER), nudges, briefs, standups, things passed on and asked around, catch-ups. Oldest first within the page; more says older ones are there - ask again with before = the first message's createdAt. Each message: id, kind, author (null = the team assistant), body, refs ({kind, id, label}: TRACK, NOTE, CHANNEL_MESSAGE, KNOWLEDGE, DECISION, MEETING, PROPOSAL, ASK), state (DONE, WAITING, FAILED, LIMIT), answersId (the message an answer answers), createdAt, updatedAt. limit 1-100 (default 50). Errors: 404 TEAM_NOT_FOUND, 400 INVALID_TIME.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • beforestringquery

    Messages created before this ISO instant.

  • limitinteger (int32)query

Responses

  • 200OK

Ask the team assistant

POST/api/external/v1/teams/{teamId}/assistant/messages

Writes the member's message (body, 1-4000 characters) in their private thread and queues its answer, as in the app. It answers from the project's brief, the board, the channels it reads, the notes this member may know of and what members let it read live - never what another member kept back. When the member asks for a change in their own words it may also act on the board within the managers' board setting and the member's role (a line per change is added to the answer).

Asynchronous: answers 201 with question (theirs) and answer (state WAITING; the assistant writes it within seconds). Poll GET .../changes?since=<answer.updatedAt> until the answer is DONE (or FAILED). Billing and budgets as in the app: the answer costs the member one MESSAGES of their plan, only when it is written; a team gets at most its owner's level's answers a day, a member at most 60 a day across their teams, and a member whose messages quota is paused gets none - past one the answer is written at once with state LIMIT and a line saying why, answering is false and refused is LIMIT.

Errors: 404 TEAM_NOT_FOUND, 400 EMPTY_MESSAGE or TOO_LONG, 403 NOT_ALLOWED (the managers' audience does not include the member's role, or the team is archived), 409 UNAVAILABLE (the assistant is off), 429 RATE_LIMITED (more than 10 messages a minute).

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Request body application/json

object

Responses

  • 200OK

List the team assistant's notes

GET/api/external/v1/teams/{teamId}/assistant/notes

The notes the member may see, newest first: ACTIVE ones the whole team may know (MANAGERS ones only for the managers and their sharer) and the member's own in every state. Each note: category, title, body, via (PERSON, KI = their own assistant, MEETING, AGREEMENT, TEAM_MEETING), state (PENDING, ACTIVE, DECLINED, WITHDRAWN, EXPIRED), visibility (TEAM, MANAGERS), sharedBy (null when the team's ANONYMOUS attribution hides the sharer from this reader), mine, source, occurredAt, createdAt, expiresAt.

Filters: category, mine=true (only their own), state (other states than ACTIVE only for their own), q (words in the title or body). Paging: limit (1-100, default 50) and before (an ISO instant: nextBefore of the page before). Errors: 404 TEAM_NOT_FOUND, 400 INVALID_FIELD.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • categorystringquery

    Only this category (NOTES, TRACKS, MEETINGS, ...).

  • minebooleanquery

    true: only the member's own notes.

  • statestringquery

    Only this state (PENDING, ACTIVE, DECLINED, WITHDRAWN, EXPIRED).

  • qstringquery

    Words in the title or body.

  • beforestringquery

    Notes created before this ISO instant.

  • limitinteger (int32)query

Responses

  • 200OK

Tell the team assistant a note

POST/api/external/v1/teams/{teamId}/assistant/notes

The member shares a note with the team assistant in their own name (as when they add one in the app): it is ACTIVE at once, whatever their category's word says - their sharing words govern what their own assistant and their meetings share for them, and those notes wait (PENDING) for the member's yes under to-decide. Fields: category (required; a told one: NOTES, TRACKS, MEETINGS, DECISIONS, MAIL, FILES, CALLS, PEOPLE), title (required, at most 160), body (at most 4000), visibility (TEAM, the default, or MANAGERS: only the managers and the sharer). Whether other members see who shared it follows the team's attribution setting (NAMED or ANONYMOUS). The member may withdraw it any time.

At most 100 notes a member a team a day. Answers 201 with the note. Errors: 404 TEAM_NOT_FOUND, 400 BAD_ASSISTANT_SETTINGS (a read category), EMPTY_TITLE, TOO_LONG or INVALID_FIELD, 403 NOT_ALLOWED (an archived team), 409 UNAVAILABLE (the assistant is off), 429 RATE_LIMITED.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Request body application/json

object

Responses

  • 200OK

Withdraw a note of yours

DELETE/api/external/v1/teams/{teamId}/assistant/notes/{noteId}

The member's own note goes (WITHDRAWN): it no longer reaches the team assistant, and a running summary that may hold it is dropped. Never refused for an own note, also in an archived team. Answers 204. A note of another member's that the member may see answers 403 NOT_ALLOWED; a manager removes those with POST .../notes/{noteId}/remove. Errors: 404 NOTE_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • noteIdstring (uuid)pathRequired

    The note's id.

Responses

  • 200OK

Say yes or no to a note that waits

POST/api/external/v1/teams/{teamId}/assistant/notes/{noteId}/decide

The member's word on one of their own PENDING notes (one their assistant or a meeting proposed under an "Ask me first" category): share: true makes it ACTIVE (the team assistant knows it now), false declines it (it stays with them). Answers the note. Errors: 404 NOTE_NOT_FOUND, 400 MISSING_FIELD, 403 NOT_ALLOWED (not their note, or it no longer waits; sharing in an archived team).

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • noteIdstring (uuid)pathRequired

    The note's id.

Request body application/json

object

Responses

  • 200OK

Remove a member's note (managers)

POST/api/external/v1/teams/{teamId}/assistant/notes/{noteId}/remove

A manager of the team removes any note (it becomes WITHDRAWN), for instance one that should not be with the team assistant. Answers 204. Errors: 403 NOT_A_MANAGER, 404 NOTE_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • noteIdstring (uuid)pathRequired

    The note's id.

  • langstringquery

Responses

  • 200OK

Mark your thread or the feed read

POST/api/external/v1/teams/{teamId}/assistant/read

The member read their thread (scope MINE, the default) or the feed (FEED) up to upTo (an ISO instant; left out: everything there now) - the app's unread counts follow. Answers 204. Errors: 404 TEAM_NOT_FOUND, 400 INVALID_FIELD or INVALID_TIME.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Request body application/json

object

Responses

  • 200OK

Read the team assistant's settings

GET/api/external/v1/teams/{teamId}/assistant/settings

The managers' settings as the app shows them to this member: whole for the team's managers (OWNER, ADMIN); for the other members without the house rules (instructions) - the project's brief is the whole team's. manages says whether this member may change them (PATCH .../settings).

Fields of settings: enabled, name (null = the product's default name), tone (FRIENDLY, NEUTRAL, FORMAL), length (BRIEF, NORMAL, DETAILED), language (BCP 47; null = each reader's own), proactivity (QUIET = answers only; HELPFUL = digests, briefs, nudges; ACTIVE = also notices), instructions, brief, audience (EVERYONE, COMMENTERS, MANAGERS: who may talk to it), kiAsks (members' own assistants may tell and ask it), board (READ, COMMENT, EDIT: what it may do on the board), mayAssign, readsChannels (the team channels it reads; null = all), attribution (NAMED, ANONYMOUS: whether it names who shared a note), digest, briefs, nudges, timeZone, retentionDays, answersInChannels, openness (NEED_TO_KNOW, OPEN_PROJECT), offTheRecord, askAround, teamMeetings.

Errors: 404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Responses

  • 200OK

Change the team assistant's settings

PATCH/api/external/v1/teams/{teamId}/assistant/settings

A manager (OWNER or ADMIN of a team that is not archived) changes how the team assistant works for the team. Only the fields sent change; a text sent empty clears it (name, language, instructions, brief, timeZone). In digest, briefs, nudges and teamMeetings a field left out keeps its value ({"digest": {"hour": 10}} changes the hour alone).

Fields: enabled (switching it on the first time writes a notice in the feed and tells every member), name (at most 24 characters), tone, length, language (a BCP 47 tag of a known language), proactivity, instructions (house rules, at most 2000 - its only instructions besides its own rules, which they never override), brief (the project's brief, at most 2000), audience, kiAsks, board, mayAssign (with board EDIT: it may make a member responsible for a track when a manager asks), readsChannels (a list of the team's channel ids) or readsAllChannels: true, attribution, digest {cadence OFF|DAILY|WEEKDAYS|WEEKLY, hour 0-23, weekday 1-7, managersOnly}, briefs {on, leadMinutes 5-240}, nudges {overdueAfterDays 0-30, waitingAfterDays 0-30, unassigned, dueSoonDays 0-30, maxPerMemberPerDay 1-10}, timeZone (IANA), retentionDays (30, 90, 180, 365, or 0 = until withdrawn; changing it recomputes when ACTIVE notes expire), answersInChannels, openness (making the project open tells every member), offTheRecord, askAround, teamMeetings {on, agendaHours 2-72, positions, suggestLinks}.

Answers the settings as they are now. Errors: 403 NOT_A_MANAGER (the member's role does not manage the team), 404 TEAM_NOT_FOUND, 400 BAD_ASSISTANT_SETTINGS (a value that cannot be used, field names it) or TOO_LONG, 403 NOT_ALLOWED (an archived team is read only), 409 UNAVAILABLE.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

  • langstringquery

Request body application/json

object

Responses

  • 200OK

Read what you share with the team assistant

GET/api/external/v1/teams/{teamId}/assistant/sharing

The member's own word on what reaches the team assistant. mine.shares is their choice per category - told ones (NOTES, TRACKS, MEETINGS, DECISIONS, MAIL, FILES, CALLS, PEOPLE) become notes, read ones (AVAILABILITY, STATUS, WORKLOAD) are read live when it works - each NEVER (the default), ASK (their assistant proposes, the note waits for their yes) or AUTO. effective is what is in force now: their own once they chose (mine.chosen); else the open project's preset when the managers made the project open (openPreset); else NEVER everywhere. mayAdopt: the project is open and their own word differs from its preset. Also mine.note (what it should know about them), digests, nudges, paused (all sharing paused) and tiMayAsk (it may ask their own assistant when it asks around for a teammate).

Errors: 404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Responses

  • 200OK

Change what you share with the team assistant

PATCH/api/external/v1/teams/{teamId}/assistant/sharing

Changes the member's own sharing for this team; only the fields sent change. preset (NOTHING; RECOMMENDED = told categories ASK except MAIL, FILES, CALLS NEVER, AVAILABILITY and STATUS AUTO, WORKLOAD NEVER; EVERYTHING; OPEN_PROJECT = the open project's) applies first, then shares ({"MEETINGS": "ASK", "STATUS": "AUTO"}; read categories take only NEVER and AUTO). Also note (at most 1000 characters; empty clears it), digests, nudges, paused and tiMayAsk (booleans).

Narrowing is never refused, also in an archived team; widening there is (403 NOT_ALLOWED). What lets less through takes effect at once. Answers the sharing as it is now. Errors: 404 TEAM_NOT_FOUND, 400 BAD_ASSISTANT_SETTINGS (field names it, e.g. ASK for a read category) or TOO_LONG.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Request body application/json

object

Responses

  • 200OK

List what waits for your yes

GET/api/external/v1/teams/{teamId}/assistant/to-decide

"To decide": what is on its way to the team assistant and waits for the member's word - their own PENDING notes (answer with POST .../notes/{noteId}/decide) and jointShares: agreements their assistant reached with a teammate's that reach the team assistant only when both say yes (each with mine ASK, theirs and other; answer with POST .../joint-shares/{jointShareId}/decide). Nothing goes until they say so; a note waiting 14 days expires. total counts both. Errors: 404 TEAM_NOT_FOUND.

Parameters

  • teamIdstring (uuid)pathRequired

    The team's id.

Responses

  • 200OK