Method
GET /v1/workspaces/:id
Path Parameters
Workspace identifier. Must match the workspace associated with the API key.
Headers
Bearer token with
workspaces:read scope.curl "https://api.voyantcloud.com/v1/workspaces/ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": {
"id": "ws_abc",
"name": "Voyant Travel",
"slug": "voyant-travel",
"icon_asset_id": "asset_123"
}
}
Return basic workspace metadata (id, name, slug, icon).
GET /v1/workspaces/:id
workspaces:read scope.curl "https://api.voyantcloud.com/v1/workspaces/ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
{
"data": {
"id": "ws_abc",
"name": "Voyant Travel",
"slug": "voyant-travel",
"icon_asset_id": "asset_123"
}
}
:id matches the workspace in the API key context. Service accounts operating across multiple workspaces must rotate keys or proxy requests through an internal service.