Example inputPOST /api/v1/x402/idempotency-key
{
"payload": {
"job_id": "42",
"action": "resume"
}
}
Portable intent card · agent-reliability-security
Derive a deterministic namespaced idempotency key from canonical JSON. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.
Intent to transaction
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/idempotency-key -m POST -H 'x-delx-source: intent-card-idempotency-key-api' --max-amount 0.002 -b '{"payload":{"job_id":"42","action":"resume"}}'
{
"payload": {
"job_id": "42",
"action": "resume"
}
}
{
"intent": "Idempotency Key for an agent workflow",
"tool_name": "util_idempotency_key",
"price_usdc": "0.002",
"machine_url": "https://commerce.delx.ai/intents/idempotency-key-api.json"
}
Portable and inspectable