Skip to content
Connect an agent

Organisations

List your organisations

The organisations the account belongs to, by name, at most 100, each with the caller's role, its plan (its owner's), what it holds, and the limits.

GET/orgs

TL;DR

QuestionAnswer
What does it do?List your organisations.
What does it take?Nothing.
What does it return?Status 200 with a body of type OrganisationList.
What can go wrong?401 not signed in; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope.

What it does

The organisations the account belongs to, by name, at most 100, each with the caller's role, its plan (its owner's), what it holds, and the limits.

Responses

StatusMeaningBody
200The organisations.OrganisationList
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not set up on this server.ErrorResponse

Response body

A 200 answer has the type OrganisationList.

FieldTypeRequiredDescription
itemsOrganisation[]yesBy name, at most 100.
items[].idstringyes
items[].slugstringyes
items[].namestringyes
items[].role"owner" | "admin" | "member" | "reader"yesWhat the caller is in this organisation.
items[].createdAtintegeryesMilliseconds since the epoch.
items[].memberCountintegeryesPeople who have joined, the owner included. The same number as usage.members. minimum 0.
items[].plan"free" | "pro" | "enterprise"yesThe organisation's plan: enterprise under a contract, otherwise its owner's.
items[].contractEndsOnstring | nullyesThe last day of the Enterprise contract, YYYY-MM-DD, or null when there is none or it has no end date written. The terms of a contract are not shown to members.
items[].usageOrganisationUsageyes
items[].usage.diagramsintegeryesminimum 0.
items[].usage.bytesintegeryesminimum 0.
items[].usage.membersintegeryesPeople who have joined, the owner included. minimum 0.
items[].usage.invitesintegeryesInvitations that can still be accepted. They count toward the member limit. minimum 0.
items[].limitsOrganisationLimitsyes
items[].limits.dailyCallsintegeryes
items[].limits.hostedDiagramsintegeryesDiagrams the organisation may hold.
items[].limits.hostedBytesintegeryesTotal bytes of diagrams the organisation may hold.
items[].limits.retentionDaysinteger | nullyesDays a diagram is kept after it was last published, or null to keep it until it is deleted.
items[].limits.maxDiagramBytesintegeryes
items[].limits.stableLinksintegeryesStable links the owner may keep for their own diagrams. An organisation's diagrams have none.
items[].limits.organisationsintegeryesOrganisations an account on this plan may own.
items[].limits.orgMembersintegeryesPeople one organisation may have, the owner included and pending invitations counted.
items[].limits.orgIconsintegeryesCustom icons one organisation may keep; zero on a plan without custom icons. minimum 0.
items[].limits.driftHistoryDaysintegeryesDays the drift dashboard keeps a run and a status after it was reported; zero on a plan without the dashboard. minimum 0.
items[].limits.auditRetentionDaysintegeryesDays the organisation's audit log keeps an event; zero on a plan that records none. minimum 0.
items[].limits.boardsintegeryesLive whiteboards the organisation may keep; zero on a plan without them. minimum 0.
items[].limits.boardTabsintegeryesTabs one whiteboard may have. minimum 0.
items[].limits.boardParticipantsintegeryesPeople on one whiteboard at once. minimum 0.
items[].limits.boardHistoryDaysintegeryesDays a whiteboard keeps the history of its changes. minimum 0.
items[].limits.boardSessionMinutesintegeryesMinutes one live connection to a whiteboard lasts before it asks whether the person is still there. minimum 0.
items[].limits.boardIdleMinutesintegeryesMinutes with no input before a whiteboard pauses its live connection. minimum 0.
items[].limits.boardDailyAwakeMinutesintegeryesMinutes the organisation's whiteboards may be live in one UTC day. minimum 0.
items[].limits.boardRevisionsintegeryesOpen revisions one tab of a whiteboard may have. minimum 0.
items[].avatarOrgAvataryesThe organisation's uploaded avatar, or null when it has none and a mark made from its id stands in.
items[].avatar.versionstringyesChanges with every upload. Put it in the address (?v=) so a new picture is a new address.
items[].avatar.contentType"image/svg+xml" | "image/png" | "image/gif" | "image/webp"yes
items[].avatar.animatedbooleanyesTrue when it moves, so a page can hold it still for a person who asked for less motion.
items[].keepEditablebooleanyesThe owner's setting "Keep diagrams editable": true when a publish to the organisation that does not send embedSource writes the diagram source into the picture, so members can edit it in the portal later. Every member can open such a picture and read its source.
items[].publishingOrganisationPublishingyes
items[].publishing.policy"personal" | "organisation-default" | "organisation-required"yesWhat the owner or an admin chose: personal (members publish where they choose), organisation-default (a member's publish that names no organisation goes to this library), or organisation-required (nothing a member publishes reaches a public link).
items[].publishing.effective"personal" | "organisation-default" | "organisation-required"yesWhat is enforced now: the choice, except organisation-required on a plan that no longer includes it, which acts as organisation-default.
items[].publishing.hideViewLinksbooleanyesWhether hosted answers leave view links out for members and the organisation's keys. Honoured only while effective is organisation-required.
items[].publishing.requiredAvailablebooleanyesWhether the organisation's plan includes organisation-required (Pro and Enterprise).
items[].sharingOrganisationSharingyes
items[].sharing.publicSharingbooleanyes"Allow public sharing of individual diagrams": while true, the owner and admins may share any diagram, and a member a diagram they published, at a public link. Off by default. Turning it off ends every link.
items[].sharing.sharedCountintegeryesHow many of the organisation's diagrams have a public link now. Counted against the plan's stableLinks. minimum 0.
items[].sharing.autoPublishbooleanyes"Agents publish every diagram they draw": while true, every valid drawing made through one of the organisation's agent connections or keys is stored in its private library with its source. Off by default.
items[].sharing.embedLinksbooleanyes"Allow diagrams on chosen websites" (Enterprise): while true, a diagram may have embed links that show it only on the websites they name. Off by default. Turning it off ends every embed link.
items[].sharing.embedLinkCountintegeryesHow many embed links the organisation has now. minimum 0.
items[].governanceOrganisationGovernanceyes
items[].governance.availablebooleanyesWhether the organisation's plan includes the policies (Enterprise). A choice saved before is kept, and is not applied without it.
items[].governance.retentionOrganisationRetentionyes
items[].governance.legalHoldobject | nullyesThe legal hold, or null when it is off. While it is on nothing of the organisation is deleted: no sweep, no member, and not the organisation itself.
items[].governance.patternsOnlybooleanyes"Agents start from approved patterns": find_pattern, called through the organisation's connections and keys, answers with its own patterns only.
items[].governance.styleRulesStrictbooleanyes"Style rules are errors": a publish to the library that breaks a saved style rule is refused with the findings.
items[].classificationOrganisationClassificationSummaryyes
items[].classification.defaultClassificationyesA diagram's classification label: public, internal (the default, and what a diagram published before labels reads as) or confidential. Confidential is never shared publicly; under "Share only diagrams labelled Public" only public is.
items[].classification.sharePublicOnlybooleanyes"Share only diagrams labelled Public": while true, only a diagram labelled public may have a public link. The owner's setting.
items[].approvalOrganisationApprovalSummaryyes
items[].approval.publish"off" | "folders" | "all"yes"Publishing needs approval": off, folders (the chosen folders and every folder inside them) or all.
items[].approval.sharebooleanyes"Public sharing needs approval".
items[].approval.approverbooleanyesTrue when the caller decides requests: the owner, an admin, or a member chosen as an approver.
items[].approval.pendinginteger | nullyesHow many requests wait for a decision, for an approver; null for anyone else. minimum 0.
items[].agentsOrganisationAgentsyes
items[].agents.approvedOnlybooleanyes"Only approved agents can connect": while true, an agent connects to the organisation only when it is on the approved list.
items[].agents.approvedstring[]yesThe approved agents by label, such as "Claude Code". Empty while approvedOnly is false. What identifies each is on GET /orgs/{org}/policies/agents, for the owner and admins.
items[].agents.orgOnlybooleanyes"Agents connect to this organisation", as applied: a member on a verified domain connects agents to the organisation, not to their own account. False on a plan without single sign-on.
items[].logAccessbooleanyesWhether the caller may read the audit log and the call history: the owner and admins, or a role or person the owner let in (PUT /orgs/{org}/log-access).
items[].boardsEnabledbooleanyesWhether live whiteboards are on for the organisation: its plan has them and Plotwork turned them on. The Boards section shows only then.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools