beta.users
List Workspaces
Changed onList every workspace the authenticated user is a member of, across all their organizations, each tagged with the organization it belongs to.
get/v1/users/me/workspaces
Request
- Base URLhttps://api.mistral.ai
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
organization_idstring uuid nullable
Return only workspaces belonging to this organization.
Example:1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d
offsetinteger
Number of workspaces to skip before returning results.
limitinteger
Maximum number of workspaces to return.
Example:100
Response
OK
Example response
{
"workspaces": [
{
"id": "7f8e9d0c-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
"name": "production",
"organization_id": "1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d"
}
]
}Changes
- info
the endpoint scheme security
BearerUserContextAuthwas added to the API
- info
- info
endpoint added
- info