List user orgs
GET /api/organizations
List organizations for the authenticated user. This endpoint returns a paginated list of all organizations that the authenticated user is a member of. Args: page_id: Optional page ID (offset) for pagination limit: Maximum number of organizations to return (1-100, default 100) user_id: Authenticated user ID (injected by dependency) Returns: OrgPage: Paginated list of organizations Raises: HTTPException: 500 if retrieval fails
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page_id | query | `string | null` | no |
limit | query | integer | no | — |
X-Org-Id | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
items | OrgResponse[] | yes | — |
next_page_id | `string | null` | no |
current_org_id | `string | null` | no |
Operation ID: list_user_orgs_api_organizations_get