API reference
Team assistant: catching up and handovers
The team assistant's briefs for a member - a welcome when they join, what they missed when they come back from time away, and "Catch me up" on demand - and the handovers it drafts when a member responsible for open tracks leaves, goes away for a while or hands work on by hand: each track's state, what matters, the next steps and who could take it on. Everything is written from what the reading member may know. 8 endpoints. Add your API key in the authentication panel to send test requests from this page.
List your catch-up briefs
/api/external/v1/teams/{teamId}/assistant/catch-upThe briefs the team assistant wrote for the member in this team, newest first: kind JOIN (the welcome), BACK (what they missed while away) or ON_DEMAND ("Catch me up"), from, to, body, refs, createdAt. limit 1-100 (default 20). Errors: 404 TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
limitinteger (int32)querylangstringquery
Responses
200OK
Catch me up
/api/external/v1/teams/{teamId}/assistant/catch-upThe team assistant writes the member a brief of what happened in the team since since - an ISO instant, or a day YYYY-MM-DD (its start on the member's clock); left out: since they last looked - from what they may know: their tracks and the ones they depend on, decisions, things passed on to them, meetings, mentions. It is also posted in their thread with the team assistant.
One model call, paid by the member (one MESSAGES); at most 6 a member a day. Answers {outcome, brief, why}: DONE with the brief (body, refs, from, to); NOTHING_NEW (nothing happened since, why says so); LIMIT (the day's catch-ups or the member's quota); FAILED. Errors: 404 TEAM_NOT_FOUND, 400 INVALID_TIME, 403 NOT_ALLOWED (the managers' audience leaves the member out), 409 ASSISTANT_OFF.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
langstringquery
Request body application/json
object
Responses
200OK
List handovers
/api/external/v1/teams/{teamId}/assistant/handoversThe handovers the member may read: a manager every one of the team's; a member their own and the ones shared with them. Each: member (whose work is handed over), reason (LEAVING, AWAY, BY_HAND), state (DRAFT, SENT, DONE, DISMISSED), from, to (days), overview, tracks (each {trackId, title, stage, state, context, nextSteps, suggested, why, proposalId}), preparedBy, sentAt. Errors: 404 TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
langstringquery
Responses
200OK
Prepare a handover
/api/external/v1/teams/{teamId}/assistant/handoversThe team assistant drafts a handover now: of memberId's open tracks (left out: the member's own; for someone else only a manager), reason (LEAVING, AWAY or BY_HAND, the default), from and to (days YYYY-MM-DD; from defaults to today). The draft goes to the managers (and the member, when they are not leaving); nobody else sees it before it is sent. One model call, paid by the member who asks for it.
Answers 201 with the draft. Errors: 404 TEAM_NOT_FOUND, 400 BAD_MEMBER (not in the team), BAD_ASSISTANT_SETTINGS (days that cannot be) or INVALID_FIELD, 403 NOT_ALLOWED (someone else's without managing the team; an archived team), 409 ASSISTANT_OFF, NOTHING_TO_SEND (no open tracks they are responsible for) or LIMIT.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
langstringquery
Request body application/json
object
Responses
200OK
Read a handover
/api/external/v1/teams/{teamId}/assistant/handovers/{handoverId}One handover the member may read. Errors: 404 HANDOVER_NOT_FOUND or TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
handoverIdstring (uuid)pathRequiredThe handover's id.
langstringquery
Responses
200OK
Edit a handover draft
/api/external/v1/teams/{teamId}/assistant/handovers/{handoverId}Changes a DRAFT: overview (sent empty or null: cleared) and tracks - the whole list, each {trackId (required), state, context, nextSteps, suggestedId, why}; a track left out is no longer in it. A key left out keeps its value. Only those who may change it (the managers, or the member for their own). Answers the handover. Errors: 404 HANDOVER_NOT_FOUND, 400 INVALID_FIELD or TOO_LONG, 403 NOT_ALLOWED, 409 NOT_OPEN (not a draft any more).
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
handoverIdstring (uuid)pathRequiredThe handover's id.
langstringquery
Request body application/json
object
Responses
200OK
Dismiss a handover
/api/external/v1/teams/{teamId}/assistant/handovers/{handoverId}/dismissSets a handover aside (DISMISSED): nothing more goes out for it. Answers the handover. Errors: 404 HANDOVER_NOT_FOUND, 403 NOT_ALLOWED, 409 NOT_OPEN.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
handoverIdstring (uuid)pathRequiredThe handover's id.
langstringquery
Responses
200OK
Send a handover
/api/external/v1/teams/{teamId}/assistant/handovers/{handoverId}/sendShares the draft with the people it suggests for each track and proposes each of them as responsible (a proposal the managers decide; the person is then offered the track and may decline). Answers the handover (SENT). Errors: 404 HANDOVER_NOT_FOUND, 403 NOT_ALLOWED, 409 NOT_OPEN or NOTHING_TO_SEND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
handoverIdstring (uuid)pathRequiredThe handover's id.
langstringquery
Responses
200OK