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

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

The 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)pathRequired
  • langstringquery

Responses

  • 200OK

Download a document

GET/api/external/v1/teams/{teamId}/knowledge/documents/{documentId}/file

A 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)pathRequired
  • documentIdstringpathRequired
  • langstringquery

Responses

  • 200OK

Read a flow's or automation's outline

GET/api/external/v1/teams/{teamId}/knowledge/things/{kind}/{id}/outline

A 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)pathRequired
  • kindstringpathRequired
  • idstringpathRequired
  • langstringquery

Responses

  • 200OK

Read a thing's text

GET/api/external/v1/teams/{teamId}/knowledge/things/{kind}/{id}/text

The 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)pathRequired
  • kindstringpathRequired

    DOCUMENT, KNOWLEDGE, FLOW or AUTOMATION.

  • idstringpathRequired
  • offsetinteger (int32)query
  • maxinteger (int32)query
  • langstringquery

Responses

  • 200OK

Read the state of a team's wiki

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

The 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

GET/api/external/v1/teams/{teamId}/wiki/history

The revisions of the page at path (required): {revision, author, byAssistant, reason, at}. Answers {items: [Revision]}.

Parameters

  • teamIdstring (uuid)pathRequired
  • pathstringquery

Responses

  • 200OK

Read a wiki page

GET/api/external/v1/teams/{teamId}/wiki/page

One 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)pathRequired
  • pathstringquery

    The page's path, e.g. home or decisions.

  • revisioninteger (int32)query
  • langstringquery

Responses

  • 200OK

Write a wiki page

PUT/api/external/v1/teams/{teamId}/wiki/page

Writes 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

DELETE/api/external/v1/teams/{teamId}/wiki/page

Deletes the page at path (required; members who may write; never one of the team assistant's pages). Answers 204.

Parameters

  • teamIdstring (uuid)pathRequired
  • pathstringquery

Responses

  • 200OK

List the wiki's pages

GET/api/external/v1/teams/{teamId}/wiki/pages

Every 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

GET/api/external/v1/teams/{teamId}/wiki/proposals

Changes 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

POST/api/external/v1/teams/{teamId}/wiki/proposals/{proposalId}/approve

A 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)pathRequired
  • proposalIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Reject a wiki proposal

POST/api/external/v1/teams/{teamId}/wiki/proposals/{proposalId}/reject

A manager rejects a proposed change; note optional. Answers the wiki's state.

Parameters

  • teamIdstring (uuid)pathRequired
  • proposalIdstring (uuid)pathRequired

Request body application/json

object

Responses

  • 200OK

Restore a wiki page's revision

POST/api/external/v1/teams/{teamId}/wiki/restore

Puts 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

Choose who writes the wiki

PUT/api/external/v1/teams/{teamId}/wiki/settings

The 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

POST/api/external/v1/teams/{teamId}/wiki/start

The 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