v2DeprecatedWorkspaces
Get a workspace
Read the current state of a single workspace.
Returns the current state of a single workspace by its partner-side ID.
Get a workspace
GET/api/v2/partner/workspaces/{partner_workspace_id}
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
Example request
curl "https://api.getsillage.com/api/v2/partner/workspaces/ws_123" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Example response
{
"data": {
"id": 101,
"name": "Acme Workspace",
"domain": "acme.com",
"is_archived": false,
"partner_workspace_id": "ws_123"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| id | integer | Identifier for the workspace. |
| name | string | Display name of the workspace. |
| domain | string or null | Primary domain of the end customer, or null if not set. |
| is_archived | boolean | Whether this workspace has been archived. |
| partner_workspace_id | string | Your partner-side identifier, echoed back where applicable. |
Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 403 | The master key is not authorized to access this resource. |
| 404 | No workspace found for this partner_workspace_id. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.