# List Organizations

Source: https://agenta.ai/docs/reference/api/list-organizations

`GET /organizations`

Base URL: `https://us.cloud.agenta.ai/api` (US cloud), `https://eu.cloud.agenta.ai/api` (EU cloud) or `$AGENTA_HOST/api` (self-hosted). Authentication: `Authorization: ApiKey YOUR_API_KEY`.

Returns a list of organizations associated with the user's session.

Returns:
    list[Organization]: A list of organizations associated with the user's session.

Raises:
    HTTPException: If there is an error retrieving the organizations from the database.

## Response schemas

### 200: Successful Response

- `id` (string, required)
- `slug` (string, nullable)
- `name` (string, nullable)
- `description` (string, nullable)
- `flags` (object, nullable)
- `tags` (object, nullable)
- `meta` (object, nullable)
- `owner_id` (string, required)
- `members` (array of string)
- `invitations` (array of any)
- `workspaces` (array of string)
