Resources
Organizations
- Organizations
- Members
- Invites
- Audit Logs
API Tokens
- API Tokens
Groups
List Groups
Groups
List Groups
Returns a list of groups belonging to the organization or user.
GET
/
v1
/
organizations
/
{organizationSlug}
/
groups
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/groups \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"name": "default",
"version": "v0.23.7",
"uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
"locations": [
"lhr",
"ams",
"bos"
],
"primary": "lhr",
"archived": false
}
]
}
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/groups \
-H 'Authorization: Bearer TOKEN'
Path Parameters
The slug of the organization or user account.
Response
200 - application/json
Successful response
The group name, unique across your organization.
Example:
"default"
The current libSQL server version the databases in that group are running.
Example:
"v0.23.7"
The group universal unique identifier (UUID).
Example:
"0a28102d-6906-11ee-8553-eaa7715aeaf2"
An array of location keys the group is located.
Example:
["lhr", "ams", "bos"]
The primary location key.
Example:
"lhr"
Groups on the free tier get archived after some inactivity.
Example:
false
Was this page helpful?
curl -L https://api.turso.tech/v1/organizations/{organizationSlug}/groups \
-H 'Authorization: Bearer TOKEN'
{
"groups": [
{
"name": "default",
"version": "v0.23.7",
"uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
"locations": [
"lhr",
"ams",
"bos"
],
"primary": "lhr",
"archived": false
}
]
}