POST /v1/token/exchange
Auth
Workspace API key (same auth model as/v1/check).
Success response
Error patterns
401 missing_api_keywhen provider key is required and missing.403 policy_deniedwhen policy evaluation blocks the request.403 policy_challengewhen a challenge is required.400 invalid_signaturewhen signature material does not verify.400 replay_detectedwhen nonce was already used.400 timestamp_out_of_rangewhen request timestamp is outside allowed skew.
Security notes
agent_request.nonceis replay-protected.agent_request.timestamp_msis bounded by server skew checks.- Returned JWT includes standard claims (
iss,sub,aud,exp) plus aclawb_claimsobject.