API reference · Organizations
Organizations this account belongs to
GET/api/orgsSigned in session
Answer 200
Memberships and what each role may do.
| Field | Type | What it is |
|---|---|---|
| orgs | array of OrgSummary | |
| orgs[] | integer | |
| orgs[] | string | |
| orgs[] | integer | |
| orgs[] | integer | |
| orgs[] | OrgRole | owner does everything. admin does everything but delete the organization, and never acts on an owner. member uses the keys. billing reads the money and the trail and changes nothing. One of "owner", "admin", "member", "billing". |
| orgs[] | integer or null | This member's monthly ceiling, in micro USD. |
| orgs[] | array of string |
Errors
- 401OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.