OUTCOME · Legacy marker
What changes
None. The route returns 501 and cannot select a workspace.
v2Workspace Management
/api/v2/me/active-workspaceThis page describes intended capability and integration boundaries so people and agents can prepare safely. Do not send this request or register it as an executable tool. Wait until the capability registry marks it implemented-contract, then re-fetch the deployed OpenAPI document and build the request from that machine contract.
PURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Do not call or register this route. Use the implemented PUT /api/v2/me/active-workspace operation with workspace_id instead.
OUTCOME · Legacy marker
None. The route returns 501 and cannot select a workspace.
WHY IT MATTERS
ISOLATION + AUTHORITY
Because it is non-executable, it grants no context or authority.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
This operation is a non-executable planning contract. Its capability-registry record defines the intended owner, parameters, responses, and integration boundary until an implemented Rust OpenAPI operation replaces it.
EXTENDED INTEGRATION GUIDANCE
Examples describe the reviewed planning contract and remain non-executable until promoted into OpenAPI.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing the workspaces:write scope.EXAMPLEBearer hc_live_…
RESPONSES
{
"code": "planned_contract",
"executable": false,
"migration": "Use implemented PUT /api/v2/me/active-workspace with its exact workspace_uuid body."
}planned_contractOPERATIONAL NOTES
UPGRADING FROM V1
If you maintain an older integration, use this map to find the V2 replacement. Do not translate the old request field-for-field: rebuild it from the V2 parameters and schemas above because identity, authorization, replay protection, and response semantics may have changed.
/api/v1/workspaces/activateWORKSPACE: Set Active WorkspaceThis planned contract now defines its public parameters, authorization boundary, replay behavior, responses, and authoritative owner. It remains non-executable until its owner adapter and conformance tests are promoted into the Rust gateway.
Return to the V2 directory ↗