API referenceadmin/workspaces
List workspaces for the account secret key owner
Returns all workspaces the authenticated account owns (via workspaceMembers). Requires account secret key (galya_sk_…) only.
Authorization
ApiKeyAuth X-API-Key<token>
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/workspaces"{
"workspaces": [
{
"public_id": "string",
"name": "string",
"created_at": 0,
"api_key_prefix": "string"
}
]
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}