Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.relayer.fi/llms.txt

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

All endpoints below live under /v1/agents/*. Auth is either Authorization: ApiKey <key> (integrator-side) or X-Agent-Auth HMAC header (agent-side, built by the SDK). For full request/response schemas see the API Reference — the Agents group has every endpoint with an interactive playground.

Lifecycle

MethodPathCallerWhat it does
POST/agents/prepareDashboardRound 1 — prepare CREATE_USERS_V3 for passkey signing
POST/agents/confirm-userDashboardRound 2 — forward stamped CREATE_USERS, return unsigned CREATE_POLICIES
POST/agents/confirm-policiesDashboardRound 3 — forward stamped CREATE_POLICIES, reveal agent secret (once)
POST/agents/{id}/prepare-policiesDashboardResume — regenerate unsigned CREATE_POLICIES for a pending_policies agent
DELETE/agents/{id}IntegratorAbandon a pending_policies agent or delete one no longer needed
The prepare / confirm-user / confirm-policies / prepare-policies endpoints require a passkey ceremony in the browser — only the dashboard runs them today. The full list above is shown for understanding the lifecycle; the operator-callable subset (read, control, funding, runtime) is documented in the API Reference under the Agents group.

Read

MethodPathCallerWhat it does
GET/agentsIntegratorList all agents for the integrator
GET/agents/{id}IntegratorGet agent details
GET/agents/{id}/statusIntegrator or AgentAgent status + kill-switch flag
GET/agents/{id}/walletIntegratorWallet info + Solana explorer URL
GET/agents/{id}/wallet-balanceIntegrator or AgentUSDC balance on the agent wallet
GET/agents/{id}/budgetIntegrator or AgentCurrent budget state across all 3 layers
GET/agents/analytics/summaryIntegratorAggregated analytics across all agents
GET/agents/{id}/analyticsIntegrator or AgentPer-agent analytics
GET/agents/{id}/auditIntegratorPaginated audit history
GET/agents/approvalsIntegratorPending approval requests for this integrator

Control (backend-callable)

MethodPathWhat it does
POST/agents/{id}/pauseReversible pause
POST/agents/{id}/resumeResume a paused agent

Control (passkey-stamped, dashboard-driven)

These operations are destructive and require a passkey ceremony today — they run from the dashboard. The API endpoints exist but aren’t documented in the API Reference until a passkey-stamp prepare/confirm pair ships.
MethodPathWhat it does
POST/agents/{id}/budgetConfigure / reconfigure budget layers
POST/agents/{id}/killIrreversible emergency stop
POST/agents/{id}/rotateIssue new HMAC secret, revoke old

Funding

MethodPathWhat it does
POST/agents/{id}/fund/preparePrepare USDC transfer integrator → agent
POST/agents/{id}/fund/confirmForward passkey-stamped activity and broadcast
Funding also requires a passkey ceremony — dashboard-driven today.

Agent runtime (HMAC X-Agent-Auth)

MethodPathWhat it does
POST/agents/walletsCreate a wallet as the authenticated agent
POST/agents/{id}/sign-transactionSign a Solana transaction
POST/agents/{id}/x402-payPay an x402-gated resource with USDC
POST/agents/events/batchBatch ingest up to 100 events