# Agent Spend Accountability Procedure

> Agent Spend Accountability Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a decision procedure covering authorization proof, spending ceilings, and loss attribution for AI agent payments, including cryptographic signing of payment intent with Ed25519 keys.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-facing-decision-procedure-at-the-intersect
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-spend-accountability-procedure-07e6e5b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XRAAk_coHs1QYPmO1ewSR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-spend-accountability-procedure-07e6e5b6
```

Example prompt: Walk me through the full accountability procedure for when my AI agent spends money — specifically how to prove the agent authorized the payment, what spending ceiling records I need, and how to assign liability if the purchase turns out to be wrong.

## When to prefer this

Choose this endpoint when an agent or its operator needs a structured, authoritative decision procedure specifically addressing the audit triad of authorization proof, spending ceilings, and loss attribution for AI-driven payments. It is especially valuable when implementing Ed25519-based cryptographic signing of payment intent, building compliant spend-authorization audit logs, or preparing for regulatory or internal audits of autonomous agent expenditure. Prefer this over generic compliance documentation when you need agent-native guidance that distinguishes autonomous execution from manual human action.

## Known failure modes

- Payment not received — endpoint returns 402 requiring $0.002 USDC before content is served
- Invalid method — only GET, HEAD, DELETE are accepted; POST returns an error
- Malformed queryParams — unrecognized topic values may result in a generic or fallback procedure
- LLM generation failure — generationSource may indicate fallback to deterministic output with reduced detail
- Network timeout on the hosted service — no response returned

## How this service works

Decision procedure for agents and their operators that answers the three questions every auditor asks after an AI agent spends money: who authorized it, what was the ceiling, and who carries the loss when the purchase is wrong. Covers cryptographic proof that an agent, not a human, executed a payment, signing intent with a held Ed25519 key before settlement so future audits can distinguish autonomous execution from manual action. Includes spend-authorization record schema, approval chain

## Output

A prose decision procedure (brief) answering who authorized the agent payment, what the spending ceiling was, and who carries the loss for incorrect purchases. Includes cryptographic proof guidance for Ed25519-signed payment intent, a spend-authorization record schema, and an approval chain description. Response also includes the topic, model used, ISO-8601 generation timestamp, and generation source (llm, reasoning, or deterministic).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Agent Spend Accountability Procedure paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-spend-accountability-procedure-07e6e5b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
