API reference
Team wiki, knowledge and status pages
What a team knows and shows: its project's wiki (read, search, write pages as yourself, history and restore, review the team assistant's proposals), the project knowledge the project's owner shares with the team (read and search it, download its documents), and the status pages the managers give clients and executives (links, their reports, publishing). 27 endpoints. Add your API key in the authentication panel to send test requests from this page.
Read the team's project knowledge
/api/external/v1/teams/{teamId}/knowledgeThe project's shelf as the owner shares it with your standing in the team: projectName, projectDescription, teamId, teamName, teamMembers, mine, mayAdd, flowsDetail, automationsDetail, and the things on it - documents, knowledge, flows, automations - each {ref: {kind, id}, title, path, folder, type, size, updatedAt, readable, chars, audience, note, description, on, addedBy, more}; cut when there are more documents than listed. The project's own ids are never shown to members. 404 NOT_FOUND when the team has no project knowledge to show.
Parameters
teamIdstring (uuid)pathRequiredlangstringquery
Responses
200OK
Download a document
/api/external/v1/teams/{teamId}/knowledge/documents/{documentId}/fileA document's file, as an attachment (its own media type when it has a concrete one, else application/octet-stream; never sniffed, never cached). 404 NOT_FOUND for a document you may not read.
Parameters
teamIdstring (uuid)pathRequireddocumentIdstringpathRequiredlangstringquery
Responses
200OK
Search the team's project knowledge
/api/external/v1/teams/{teamId}/knowledge/searchPassages of what you may read that fit q, the best first: {ref, title, where, text, score}. limit 1-20 (default 20). Answers {items: [Hit]}.
Parameters
teamIdstring (uuid)pathRequiredqstringquerylimitinteger (int32)querylangstringquery
Responses
200OK
Read a flow's or automation's outline
/api/external/v1/teams/{teamId}/knowledge/things/{kind}/{id}/outlineA flow or automation (kind FLOW or AUTOMATION) as the owner lets the team see it: {ref, title, description, on, updatedAt, detail, parts: [{kind, name, detail}]} - parts empty when the owner shares names only.
Parameters
teamIdstring (uuid)pathRequiredkindstringpathRequiredidstringpathRequiredlangstringquery
Responses
200OK
Read a thing's text
/api/external/v1/teams/{teamId}/knowledge/things/{kind}/{id}/textThe text of a document or knowledge item (kind DOCUMENT or KNOWLEDGE) from offset (default 0), at most max characters (default 12000): {ref, title, text, offset, total, more, mediaType} - ask again from offset + text length while more. 404 NOT_FOUND for anything you may not read.
Parameters
teamIdstring (uuid)pathRequiredkindstringpathRequiredDOCUMENT, KNOWLEDGE, FLOW or AUTOMATION.
idstringpathRequiredoffsetinteger (int32)querymaxinteger (int32)querylangstringquery
Responses
200OK
List a team's status links
/api/external/v1/teams/{teamId}/status-linksThe project's status links (each with its url while it is not revoked). Answers {items: [StatusLink]}. A status link: id, teamId, label, url (the page's address, for the managers), include ({summary, progress, milestones, milestoneLabels, decisions, nextSteps, names}: what its reports may show), approval (EACH: every report waits for a manager; AUTO: published as written), cadence (WEEKLY, BY_HAND), weekday (1-7), hour (0-23, the team's zone), language, state (ACTIVE, PAUSED, REVOKED, EXPIRED), expiresAt, followers, views, lastViewedAt, lastPublishedAt, createdBy, createdAt.
Parameters
teamIdstring (uuid)pathRequired
Responses
200OK
Create a status link
/api/external/v1/teams/{teamId}/status-linksA manager makes a status page for people outside the team (a client, an executive): it shows the published reports, written by the team assistant from what the whole team may know - never what only the managers read, never a member's name unless include.names - and readers may follow it by email. Fields: label (at most 80 characters), include (as above; a part left out takes its default), approval (EACH, AUTO), cadence (WEEKLY, BY_HAND), weekday, hour, expiresAt (an ISO-8601 instant; on a change null takes the end off), paused, language (one of the app's languages; default the team assistant's, else yours).
At most 10 links a team (409 STATUS_LIMIT); 403 ROLE_REQUIRED for a member who does not manage. Answers 201 with the link, its url to hand on.
Parameters
teamIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Change a status link
/api/external/v1/teams/{teamId}/status-links/{linkId}A manager changes a link; a key left out keeps its value. Fields: label (at most 80 characters), include (as above; a part left out takes its default), approval (EACH, AUTO), cadence (WEEKLY, BY_HAND), weekday, hour, expiresAt (an ISO-8601 instant; on a change null takes the end off), paused, language (one of the app's languages; default the team assistant's, else yours). Answers the link.
Parameters
teamIdstring (uuid)pathRequiredlinkIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Revoke a status link
/api/external/v1/teams/{teamId}/status-links/{linkId}A manager revokes the link for good: its page says so and its followers are let go. Answers 204.
Parameters
teamIdstring (uuid)pathRequiredlinkIdstring (uuid)pathRequired
Responses
200OK
List a status link's reports
/api/external/v1/teams/{teamId}/status-links/{linkId}/reportsThe link's reports, drafts too: {id, linkId, state (DRAFT, PUBLISHED, DISCARDED), title, sections: [{key, title, body, items}], byAssistant, approvedBy, publishedAt, createdAt}. Answers {items: [Report]}.
Parameters
teamIdstring (uuid)pathRequiredlinkIdstring (uuid)pathRequired
Responses
200OK
Have a status report written now
/api/external/v1/teams/{teamId}/status-links/{linkId}/reportsA manager has the team assistant write a report for the link now: a DRAFT that waits for a manager's publish, or published at once when the link's approval is AUTO. language (optional: this report's language; default the link's). One model call on the team owner's plan; 409 LIMIT, ASSISTANT_OFF. Answers 201 with the report.
Parameters
teamIdstring (uuid)pathRequiredlinkIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Edit a status report draft
/api/external/v1/teams/{teamId}/status-links/reports/{reportId}A manager changes a draft before it goes out: title, sections (the whole list: [{key, title, body, items}], keys summary, progress, milestones, decisions, nextSteps; at most 4000 characters a part). A key left out keeps its value. Answers the report.
Parameters
teamIdstring (uuid)pathRequiredreportIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Discard a status report draft
/api/external/v1/teams/{teamId}/status-links/reports/{reportId}/discardA manager discards a draft: it never goes out. Answers the report.
Parameters
teamIdstring (uuid)pathRequiredreportIdstring (uuid)pathRequired
Responses
200OK
Publish a status report
/api/external/v1/teams/{teamId}/status-links/reports/{reportId}/publishA manager publishes a draft: it shows on the link's page and its confirmed followers get one mail about it. This is the approval a link with approval EACH waits for. Answers the report.
Parameters
teamIdstring (uuid)pathRequiredreportIdstring (uuid)pathRequired
Responses
200OK
Read the state of a team's wiki
/api/external/v1/teams/{teamId}/wikiThe wiki as you see it: teamId, projectName, exists, wikiId, mayStart (you own the project: you start it and choose who writes), mayEdit, mayReview (you approve the team assistant's proposals), editors (EDITORS: every member who edits the board writes; MANAGERS: only the managers), pages, proposals (waiting for review), updatedAt.
Parameters
teamIdstring (uuid)pathRequired
Responses
200OK
Read a wiki page's history
/api/external/v1/teams/{teamId}/wiki/historyThe revisions of the page at path (required): {revision, author, byAssistant, reason, at}. Answers {items: [Revision]}.
Parameters
teamIdstring (uuid)pathRequiredpathstringquery
Responses
200OK
Read a wiki page
/api/external/v1/teams/{teamId}/wiki/pageOne page by its path (required), as it is now or at an earlier revision. A page: path, title, content (Markdown), etag (send it back with an edit), generated (kept by the team assistant from the team's data: read only - edit the decision, the board or the settings instead), updatedAt, updatedBy, revision.
404 PAGE_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredpathstringqueryThe page's path, e.g. home or decisions.
revisioninteger (int32)querylangstringquery
Responses
200OK
Write a wiki page
/api/external/v1/teams/{teamId}/wiki/pageWrites a page as you (members the wiki's editors setting lets write; else 403 ROLE_REQUIRED): path (required; a new path makes a new page), content (Markdown, at most 200000 characters), etag (required for an existing page: the one you read it with - 409 EDIT_CONFLICT when it changed since), reason (a line for its history). The team assistant's pages are read only (409 GENERATED_PAGE). Answers the page.
Parameters
teamIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Delete a wiki page
/api/external/v1/teams/{teamId}/wiki/pageDeletes the page at path (required; members who may write; never one of the team assistant's pages). Answers 204.
Parameters
teamIdstring (uuid)pathRequiredpathstringquery
Responses
200OK
List the wiki's pages
/api/external/v1/teams/{teamId}/wiki/pagesEvery page: {path, title, generated, updatedAt, updatedBy}. 409 NO_WIKI when the project has none yet. Answers {items: [PageRef]}.
Parameters
teamIdstring (uuid)pathRequired
Responses
200OK
List the wiki's proposals
/api/external/v1/teams/{teamId}/wiki/proposalsChanges the team assistant (or a member's own assistant) proposed, waiting for a manager's review: {id, path, title, rationale, content, current, createdAt, byTeamAssistant, forMember}. Answers {items: [Proposal]}.
Parameters
teamIdstring (uuid)pathRequired
Responses
200OK
Approve a wiki proposal
/api/external/v1/teams/{teamId}/wiki/proposals/{proposalId}/approveA manager approves a proposed change: it is written to the page. note optional. 409 NOT_OPEN, STALE (the page changed since). Answers the wiki's state.
Parameters
teamIdstring (uuid)pathRequiredproposalIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Reject a wiki proposal
/api/external/v1/teams/{teamId}/wiki/proposals/{proposalId}/rejectA manager rejects a proposed change; note optional. Answers the wiki's state.
Parameters
teamIdstring (uuid)pathRequiredproposalIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Restore a wiki page's revision
/api/external/v1/teams/{teamId}/wiki/restorePuts an earlier revision back as a new one, as you: path (required), revision (required, a whole number), etag (the page's current one). Answers the page.
Parameters
teamIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Search the wiki
/api/external/v1/teams/{teamId}/wiki/searchPages whose titles or text fit q, at most limit (1-100, default 20). Answers {items: [PageRef]}.
Parameters
teamIdstring (uuid)pathRequiredqstringquerylimitinteger (int32)query
Responses
200OK
Choose who writes the wiki
/api/external/v1/teams/{teamId}/wiki/settingsThe project's owner chooses who writes: editors (required: EDITORS or MANAGERS). Answers the wiki's state.
Parameters
teamIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK
Start the project's wiki
/api/external/v1/teams/{teamId}/wiki/startThe project's owner starts its wiki (it lives in their account and counts as one of their Spaces: 409 PLAN past their plan's Spaces): editors (EDITORS or MANAGERS), lang (the language its first pages are written in when the team assistant has none of its own; default yours). 403 ROLE_REQUIRED for anyone but the project's owner, a team without a project or an archived one. Starting a wiki that is there already changes nothing. Answers the wiki's state.
Parameters
teamIdstring (uuid)pathRequired
Request body application/json
object
Responses
200OK