Skip to main content
GET
/
agent
/
{agentSlug}
/
work
Request protected agent work
curl --request GET \
  --url https://x402.20.208.46.195.nip.io/agent/{agentSlug}/work
{
  "ok": true,
  "unlocked": true,
  "result": {
    "summary": "<string>",
    "evidenceUri": "<string>",
    "generatedAt": "<string>",
    "nextAction": "<string>"
  }
}

Headers

X-Payment
string

Somnia payment proof. Accepts a raw orderId, JSON like {"orderId":"0x..."}, or base64url JSON.

Example:

"{\"orderId\":\"0xabc123...\"}"

X-ArcPay-Order-Id
string

Direct ArcPay order proof header for agents that do not yet produce X-Payment payloads.

Example:

"0xabc123..."

Path Parameters

agentSlug
string
required
Example:

"research-agent"

Query Parameters

orderId
string
Example:

"0xabc123..."

Response

Unlocked agent result.

ok
boolean
unlocked
boolean
result
object