Skip to main content
POST
/
api
/
registry
/
agents
/
{encodedUrl}
/
oauth-client-credentials
/
test
Dry-run the saved OAuth 2.0 client-credentials config
curl --request POST \
  --url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/oauth-client-credentials/test \
  --header 'Authorization: Bearer <token>'
{
  "latency_ms": 123
}

Documentation Index

Fetch the complete documentation index at: https://agenticadvertisingorg-changeset-release-main.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header. Two token types are accepted:

  • Organization API key (sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use.
  • User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at /.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.

Path Parameters

encodedUrl
string
required

URL-encoded agent URL

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).

ok
enum<boolean>
required
Available options:
true
latency_ms
integer
required