Agent Compliance
Dry-run the saved OAuth 2.0 client-credentials config
Changed onExchange the saved client_credentials at the token endpoint and discard the resulting access token. Returns success + latency on a 2xx exchange, or the SDK's ClientCredentialsExchangeError kind (oauth, malformed, network) on failure so operators get same-second feedback instead of waiting for the next compliance heartbeat. Requires authentication and ownership. Requires credentials to already be saved via PUT /oauth-client-credentials.
post/api/registry/agents/{encodedUrl}/oauth-client-credentials/test
Request
- Base URLhttps://agenticadvertising.org
- URLhttps://agenticadvertising.org/api/registry/agents/{encodedUrl}/oauth-client-credentials/test
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://agenticadvertising.org/authorizeToken URL: https://agenticadvertising.org/token
Path parameters
encodedUrlstring required
URL-encoded agent URL
Request body
Response
Result of the token exchange. ok: true on 2xx from the AS; ok: false with a typed error otherwise (HTTP response itself is still 200 — the error payload carries the rejection kind so UI can branch on it).
Changes
- info
added optional request body
- info