Organisations
List an organisation's apps
The apps registered for the organisation, newest first.
GET
/orgs/{org}/appsTL;DR
| Question | Answer |
|---|---|
| What does it do? | List an organisation's apps. |
| What does it take? | org in the path. |
| What does it return? | Status 200 with a body of type RegisteredAppList. |
| What can go wrong? | 401 not signed in; 403 a member or a reader may not look (orgs.forbidden); 404 no such organisation, or the caller is not a member of it; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope. |
What it does
The apps registered for the organisation, newest first. The owner and an admin may look. The secret is never shown again.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
org | string | yes | The organisation's id or its slug. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The apps. | RegisteredAppList |
| 401 | Not signed in. | ErrorResponse |
| 403 | A member or a reader may not look (orgs.forbidden). | ErrorResponse |
| 404 | No such organisation, or the caller is not a member of it. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Organisations are not set up on this server. | ErrorResponse |
Response body
A 200 answer has the type RegisteredAppList.
| Field | Type | Required | Description |
|---|---|---|---|
items | RegisteredApp[] | yes | |
items[].id | string | yes | The app's id, which is its OAuth client_id. |
items[].name | string | yes | Shown to people as a claim on the consent page. |
items[].homepage | string | null | yes | |
items[].clientType | "confidential" | "public" | yes | confidential holds a client secret on its server; public (a page or a tool with no server) holds none. |
items[].redirectUris | string[] | yes | |
items[].membersOnly | boolean | yes | For an organisation's app: only its members may connect it, to the organisation. |
items[].hasSecret | boolean | yes | |
items[].createdAt | integer | yes | Milliseconds since the epoch. |
items[].updatedAt | integer | yes | Milliseconds since the epoch. |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |