List organizations
api/compliance/organizations/list
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/compliance/organizations/list Changed · +11 / -14 lines
# List organizations ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List organizations ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List organizations -url: https://platform.claude.com/docs/en/api/compliance/organizations/list ---- +# List organizations -## List organizations +**GET** `/v1/compliance/organizations` -**get** `/v1/compliance/organizations` - List organizations under the parent organization. Returns organizations sorted by creation date in ascending order. Use
`limit` and `page` to paginate: each response includes `has_more` and a `next_page` token to pass on the next request. -### Query Parameters +## Query parameters - `limit: optional number` Maximum results (default: 1000, max: 1000) + default: 1000, maximum: 1000, minimum: 1 + - `page: optional string` Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice. -### Header Parameters +## Headers - `"x-api-key": optional string` -### Returns +## Returns -- `data: array of object { created_at, name, uuid }` +- `data: array of object` List of organizations sorted by creation date, ascending
Token to retrieve the next page. Use this as the 'page' parameter in your next request -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/compliance/organizations \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ``` -#### Response +### Response (200) ```json {