Skip to main content

List Organizations

GET 

https://cloud.agenta.ai/api/organizations

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

Args: stoken_session (SessionContainer): The user's session token.

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

Successful Response

Schema

  • Array [

  • id Id (string)
    name Name (string)required
    description Description (string)
    type Type (string)
    owner Owner (string)required
    members string[]
    invitations undefined[]
    is_paying Is Paying (boolean)
  • ]

curl -L 'https://cloud.agenta.ai/api/organizations' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
ResponseClear

Click the Send API Request button above and see the response here!