OUTCOME · Create or advance
What changes
Creates or advances only the workspace knowledge agent resource described by this contract after authorization, validation, policy, and idempotency gates pass.
v2Agent-native Context Mesh
/api/v2/workspaces/{workspace_id}/knowledge-agents/{client_id}/revocationsPURPOSE + BUSINESS CONTEXT
WHEN THIS CALL IS USEFUL
Call this when a tenant member, team administrator, account client, or workspace-aware agent needs to apply the documented workspace knowledge agent transition after re-reading the current authoritative state so it can create and select isolated workspaces and govern invitations, memberships, roles, and active execution context.
OUTCOME · Create or advance
Creates or advances only the workspace knowledge agent resource described by this contract after authorization, validation, policy, and idempotency gates pass.
WHY IT MATTERS
ISOLATION + AUTHORITY
Tenant, identity, workspace, invitation, membership, role, active-workspace selection, resource ownership, wallet, policy, and entitlement boundaries remain distinct. Membership or selection does not grant tenant administration, wallet signing, payment, settlement, publisher, matching, or trading authority beyond separately evaluated scopes and policy.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
The exact deployed parameters, schemas, responses, security requirements, and Hybrid-Chain agent metadata are authoritative at this operation's production OpenAPI JSON Pointer. The readable tables below add integration guidance; the deployed OpenAPI controls if guidance and the machine contract ever differ.
Open the authoritative production contract ↗EXTENDED INTEGRATION GUIDANCE
Examples illustrate integration intent; the referenced OpenAPI operation and component schemas define the executable shape.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing workspaces:write authority.EXAMPLEBearer hc_live_…
workspace_idpathRequiredidentifierStable workspace id selecting the exact resource addressed by this route.EXAMPLEworkspace-id-01
client_idpathRequiredidentifierStable client id selecting the exact resource addressed by this route.EXAMPLEclient-id-01
X-Request-IDheaderOptionalstringOptional caller correlation identifier. The gateway emits the effective value on the response.
Idempotency-KeyheaderRequiredASCII string · 1–128Caller-generated stable key reused for retries of the same logical mutation.
Content-DigestheaderRequiredstringRFC 9530 sha-256 digest of the exact transmitted request-body bytes.
Signature-InputheaderRequiredstringRFC 9421 sig1 input covering @method, @path, content-digest, content-type, and idempotency-key, with created, expires, nonce, keyid, and alg=ed25519.
SignatureheaderRequiredstringRFC 9421 sig1 Ed25519 signature made by an active key registered to the bearer client.
step_up_tokenbodyRequiredstringFresh, one-use, purpose-bound hcsu_ authorization created by the authenticated human session.
REQUEST
{
"step_up_token": "example-step-up-token"
}STABLE ERROR CODES
These codes are published by the authoritative gateway contract for this endpoint. Treat message as safe diagnostic text; integrations should branch on code and HTTP status.
invalid_jsonThe JSON body is malformed or fails the published workload schema.invalid_security_requestThe workload identity, scope, public key, proof, or step-up request is invalid.invalid_credentialsThe human workspace-owner bearer or proof-of-possession credential is invalid.step_up_requiredCurrent workspace ownership and fresh purpose-bound approval are required.workload_client_not_foundThe requested workspace knowledge agent was not found.security_conflictThe knowledge-agent lifecycle transition conflicts with current state.identity_security_unavailableThe authoritative Identity security service is temporarily unavailable.RESPONSES
{
"client_id": "hcwc_knowledge_agent_01",
"status": "ACTIVE"
}{
"code": "invalid_json",
"message": "The JSON body is malformed or fails the published workload schema."
}invalid_json{
"code": "invalid_credentials",
"message": "The human workspace-owner bearer or proof-of-possession credential is invalid."
}invalid_credentials{
"code": "step_up_required",
"message": "Current workspace ownership and fresh purpose-bound approval are required."
}step_up_required{
"code": "workload_client_not_found",
"message": "The requested workspace knowledge agent was not found."
}workload_client_not_found{
"code": "identity_security_unavailable",
"message": "The authoritative Identity security service is temporarily unavailable."
}identity_security_unavailableOPERATIONAL NOTES
This route is implemented in canonical gateway source and appears in the production OpenAPI snapshot observed 2026-09-11T06:35:11.572Z. Authentication, tenant, feature, venue, and market policy still apply.
Verify the exact production OpenAPI operation ↗Return to the V2 directory ↗