{
"requested": [
"read",
"write"
],
"required": [
"read"
]
}
Portable intent card · api-integration
OAuth Scope Audit API for agents
Compare requested OAuth scopes with the minimum required scopes. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base or Solana. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and production controls.
Intent to transaction
One command, attributed.
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/oauth-scope-audit -m POST -H 'x-delx-source: intent-card-oauth-scope-audit-api' --max-amount 0.003 -b '{"requested":["read","write"],"required":["read"]}'
Example inputPOST /api/v1/x402/oauth-scope-audit
Agent discoverydelx/intent-card/v1
{
"intent": "OAuth Scope Audit for an agent workflow",
"tool_name": "util_oauth_scope_audit",
"price_usdc": "0.003",
"machine_url": "https://commerce.delx.ai/intents/oauth-scope-audit-api.json"
}
Portable and inspectable