A company: its projects, its people, its invitations
const url = 'https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/companies/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Every project of the company by name, with the caller’s own standing in each (joined, and the role when joined) — nothing else about a project they are not in; every member with their company role; and, for its owner and managers, the invitations nobody has signed in on yet. A company you are not in, and one in the bin, answer the 404 an id nobody has gets. ?deleted= (#2053): of the user ids asked, those among the company’s people and those who invited them whose account was deleted — in the Bin, or purged and so no longer in the company — come back in deleted, and the people page names such an inviter «deleted account»; any other id is left out.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”User ids, comma-separated, at most 100: the answer then carries deleted.
Responses
Section titled “ Responses ”The company
The company page. invitations is its owner’s and managers’ business — empty for a member and a reader.
object
What a member of a company may do (ADR 0038, ADR 0050). owner — exactly one: renames and deletes it and hands its ownership over; never demoted or removed, and does not leave. owner and manager run its people by the project’s rules (a manager gives their own level and below, and demotes and removes only members and readers) and add them to its projects; member and reader join its projects themselves. A company role opens no project: joining one gives the project role it maps to — owner and manager → manager (a project has its own one owner), member → member, reader → reader. The former admin is a manager since release B and is never answered.
A project of the company as any member sees it: its name, and the caller’s own standing in it — role only when joined. Nothing else about a project the caller is not in.
object
What a member may do (B8-team, ADR 0050). owner — exactly one a project: its secrets (bucket, CI, AI keys), statuses, name, the move into a company, and the handover of ownership; never demoted or removed, and does not leave — ownership moves only by a handover the recipient accepts. manager runs the people of their level and below: invites as manager, member or reader, and changes and removes members and readers (a manager is demoted and removed by the owner alone). member works in the project and manages nobody; reader is refused every write at the boundary, before a handler runs, but a comment, a pending proposal and leaving the project (#1440, #2055).
object
The display name (T3) — absent until the person has given one.
What a member of a company may do (ADR 0038, ADR 0050). owner — exactly one: renames and deletes it and hands its ownership over; never demoted or removed, and does not leave. owner and manager run its people by the project’s rules (a manager gives their own level and below, and demotes and removes only members and readers) and add them to its projects; member and reader join its projects themselves. A company role opens no project: joining one gives the project role it maps to — owner and manager → manager (a project has its own one owner), member → member, reader → reader. The former admin is a manager since release B and is never answered.
Who brought them in (a userId) — absent for the person who made the company.
Present while the person’s account waits in the Bin (#952), as on Member.
ADR 0050 §3: on the row of the person the owner asked to take the company over, while the request waits — absent on every other row.
object
An address asked into the company that has not signed in since. projectId is present when it was asked into a company project through POST /v1/members: the sign-in makes it a member of the company AND of that project.
object
What a member of a company may do (ADR 0038, ADR 0050). owner — exactly one: renames and deletes it and hands its ownership over; never demoted or removed, and does not leave. owner and manager run its people by the project’s rules (a manager gives their own level and below, and demotes and removes only members and readers) and add them to its projects; member and reader join its projects themselves. A company role opens no project: joining one gives the project role it maps to — owner and manager → manager (a project has its own one owner), member → member, reader → reader. The former admin is a manager since release B and is never answered.
In the owner’s answer only, with the three fields below (#3175). The company is marked to go to the Bin with its projects 30 days after the last finished run in any of its live projects, or after the company was made or a project last moved into or out of it, when that is later. Nothing is deleted unless autoDeleteLive is true. A company taken out of the Bin comes back without the mark.
The last finished run of its live projects; a run in the Bin does not count. Given marked or not; null without a finished run.
The first 03:10 UTC at or after 30 days from the latest of lastRunFinishedAt, createdAt and the last move of a project into or out of the company, or the next 03:10 UTC when that has passed; never in the past. A new finished run or such a move moves it. With autoDelete false it is when the company WOULD go if marked now: an unmarked company is never deleted. Nothing is deleted then unless autoDeleteLive. null as lastRunFinishedAt.
Whether this deployment deletes marked companies. False: nothing is deleted, and the mark cannot be set (409 auto_delete_not_enabled), only cleared.
Free and Personal are an account’s, Team and Enterprise a company’s; Free may also be a company’s, as the row that cancels its Team.
Worked out from the grants at the database’s clock, never stored. active: a paid grant covers now. grace: it ended or was cancelled less than 14 days ago, and the limits are still the tier’s. expired: the 14 days are over — Free. disabled: the operator switched it off — Free at once, and nothing is deleted for 14 days. No grant ever is plain Free, active.
What a grant carries besides its tier. A free grant carries none.
object
The seats a payment bought (#1055). Only a payment writes it; the owner’s grant cannot.
When the company’s paid period ends (or ended, in grace); null without an end and on Free.
Until when nothing of the company is deleted: the end of the 14 days in grace and disabled; null when active or expired.
Only when ?deleted= asked (#2053): those of the asked user ids among the company’s people and those who invited them whose account was deleted — in the Bin or purged. Screens say «deleted account».
Example
{ "id": "6f1c2b3a-0000-4000-8000-0000000000a5", "name": "Acme", "role": "owner", "createdAt": "2026-09-16T09:12:04.151Z", "projects": [ { "id": "9c4e7d10-0000-4000-8000-0000000000a4", "name": "Mobile app", "joined": true, "role": "owner" }, { "id": "9c4e7d10-0000-4000-8000-0000000000a5", "name": "Payments", "joined": false } ], "members": [ { "userId": "u-shop", "email": "owner@example.com", "name": "Olena Kovalenko", "role": "owner", "createdAt": "2026-09-16T09:12:04.151Z" }, { "userId": "6f1c2b3a-0000-4000-8000-0000000000a2", "email": "colleague@example.com", "role": "manager", "invitedBy": "u-shop", "createdAt": "2026-09-16T09:12:04.151Z" } ], "invitations": [ { "id": "6f1c2b3a-0000-4000-8000-0000000000a6", "email": "newcomer@example.com", "role": "member", "createdAt": "2026-09-16T09:12:04.151Z" } ], "autoDelete": false, "lastRunFinishedAt": null, "autoDeleteAt": null, "autoDeleteLive": false, "tier": "personal", "tierState": "active", "options": {}, "tierValidUntil": "2027-10-15T09:00:00.000Z", "tierGraceEndsAt": null}More than 100 ids in deleted
object
Example
{ "error": "deleted: at most 100 user ids, comma separated"}No / invalid token or session
No such company among yours
object
Example
{ "error": "company '6f1c2b3a-0000-4000-8000-0000000000a5' not found"}