MCP

workspace/get_by_id

Tool: read

Get a specific workspace by its integer ID.

Returns the Workspace object if it belongs to the authenticated agency. apiKey is redacted — see schemas/workspace.

After workspace/delete_by_id this returns 404 immediately, while the workspace's contents are still purged in the background for up to ~1 hour — the 404 does not mean that purge has finished.

Arguments

name type req notes
id integer the object's workspaceId (int32)

Response

200 — Workspace object: see schemas/workspace. Deltas: none.

Errors: 400, 401, 404, 406, 422, 429, 500 — shared schema: schemas/errors.

Invoke

Call read with name: "workspace/get_by_id".