List Organizations
GEThttps://cloud.agenta.ai/api/organizations
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.
Responses
- 200
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id Id (string)required
name Name (string)required
owner Owner (string)required
description Description (string)required
typeobject
workspaces string[]
[
{
"id": "string",
"name": "string",
"owner": "string",
"description": "string",
"type": "string",
"workspaces": [
"string"
]
}
]
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/organizations' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear