v1
latestOpenAPI 3.1.02026-07-2210284274.4 KBAgent Compliance
Save OAuth 2.0 client-credentials for an agent
Store a machine-to-machine OAuth 2.0 client-credentials configuration (RFC 6749 §4.4) for this agent. The SDK exchanges at the token endpoint before every call and refreshes on 401. client_secret may be a $ENV:VAR_NAME reference — the SDK resolves at exchange time, the server stores it as written (encrypted uniformly). Requires authentication and ownership.
put/api/registry/agents/{encodedUrl}/oauth-client-credentials
Path parameters
encodedUrlstring required
URL-encoded agent URL
URL-encoded agent URL
Request body
Response
Credentials saved