Outcome
Get one documentation space from the selected workspace.
These examples were captured from the local Worker. Deployment, publication and retrieval are verified separately for each environment; local examples do not establish external provider delivery.
Before you start
-
Inspect the credential identity with topolo whoami and the exact action with topolo actions get before preparing input.
-
Discover an accessible Docs workspace with topolo resources topolo-docs and topolo workspaces list topolo-docs. Pass workspace resource type and identifier separately from action input.
-
The published required permission is docs:read; the active credential and resource binding must authorize the call.
Discover the target
topolo actions get app_topolo_docs.spaces.get --detail --json
topolo resources topolo-docs --json
topolo workspaces list topolo-docs --json
Discover spaceId with app_topolo_docs.spaces.list in the selected workspace.
Input fields
| Field | Required | Meaning |
|---|---|---|
spaceId | Yes | Stable documentation space identifier discovered with spaces.list in the selected workspace. It is separate from the Auth workspace resource identifier. |
Interpret the response
space is the requested workspace-scoped record, including visibility, defaultLocale and brand configuration. A public visibility alone does not publish a document.
Worked examples
The following inputs and responses were captured from the local Docs worker fixture. Auth and Nexus dependencies are simulated. Identifiers, URLs and timestamps are illustrative fixture values. Discover your own identifiers and choose an appropriate test resource; copying a fixture identifier does not make it valid in your environment. For workspace-bound calls, set DOCS_WORKSPACE_ID to the identifier returned by resource discovery. Run validation and planning first; the final call requires the intended effect to be authorized.
Minimal example
Save the input as payload.json:
{
"spaceId": "docspace_a09c96df-e507-4751-89c8-e6a99e496d0d"
}
CLI:
topolo actions validate app_topolo_docs.spaces.get --data @payload.json --json
topolo actions plan app_topolo_docs.spaces.get --resource-type workspace --resource-id "$DOCS_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_docs.spaces.get --resource-type workspace --resource-id "$DOCS_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_docs.spaces.get",
"input": {
"spaceId": "docspace_a09c96df-e507-4751-89c8-e6a99e496d0d"
},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"space": {
"id": "docspace_a09c96df-e507-4751-89c8-e6a99e496d0d",
"organizationId": "org_fixture",
"workspaceId": "ws_fixture",
"slug": "reference-minimal",
"title": "minimal integration reference",
"description": "",
"visibility": "private",
"defaultLocale": "en",
"brand": {},
"status": "active",
"createdByUserId": "usr_fixture",
"createdAt": "2026-10-03T08:07:30.244Z",
"updatedAt": "2026-10-03T08:07:30.244Z"
}
}
space is the requested workspace-scoped record, including visibility, defaultLocale and brand configuration. A public visibility alone does not publish a document.
Workflow example
Save the input as payload.json:
{
"spaceId": "docspace_a0013653-dabf-4831-8c11-6405b39664ca"
}
CLI:
topolo actions validate app_topolo_docs.spaces.get --data @payload.json --json
topolo actions plan app_topolo_docs.spaces.get --resource-type workspace --resource-id "$DOCS_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_docs.spaces.get --resource-type workspace --resource-id "$DOCS_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_docs.spaces.get",
"input": {
"spaceId": "docspace_a0013653-dabf-4831-8c11-6405b39664ca"
},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"space": {
"id": "docspace_a0013653-dabf-4831-8c11-6405b39664ca",
"organizationId": "org_fixture",
"workspaceId": "ws_fixture",
"slug": "reference-workflow",
"title": "workflow integration reference",
"description": "",
"visibility": "private",
"defaultLocale": "en",
"brand": {},
"status": "active",
"createdByUserId": "usr_fixture",
"createdAt": "2026-10-03T08:07:33.740Z",
"updatedAt": "2026-10-03T08:07:33.740Z"
}
}
space is the requested workspace-scoped record, including visibility, defaultLocale and brand configuration. A public visibility alone does not publish a document.
Verify the result
- Require space.id to equal spaceId and space.workspaceId to match the selected workspace. Public visibility does not establish document publication.
Errors and recovery
-
HTTP 401 ·
authentication_required: Authenticate again or provide a valid Topolo API key. -
HTTP 403 ·
permission_denied: Grant the credential permission docs:read and the required resource binding. -
HTTP 429 ·
rate_limited: Wait for Retry-After when present, then retry without parallel duplicate calls. -
HTTP 422 ·
invalid_input: Correct the payload using inputSchema, then validate before retrying. -
HTTP 503 ·
dependency_unavailable: Retry the action. If it continues, inspect the structured error details using the request ID.
This action does not change service state.
Evidence boundary
These examples establish local handler behavior and schema validity. They do not establish runtime permission parity, a deployed development/staging result or production completion. Preserve the actual request identifier and perform the verification reads after an authorized live call.