# Agent API-Credit Autonomy Decision Procedure Brief

> Agent API-Credit Autonomy Decision Procedure Brief is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a blunt, agent-facing decision procedure for choosing between legacy prepaid API credits and per-call x402 metered payment for the same capability.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-api-credit-autonomy-decision-procedure-the
- 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-api-credit-autonomy-decision-procedure-brief-3a9c2512
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DIGIRum5rhpbXw0M63m3-

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-api-credit-autonomy-decision-procedure-brief-3a9c2512
```

Example prompt: I need to decide whether to keep using prepaid OpenAI-style API credits or switch to per-call x402 metered payment for my agent — can you pull the decision procedure that covers cost comparison, what to do if credits run out mid-task, budget ceilings, and the refusal rule?

## When to prefer this

Use this endpoint when an agent needs a structured, opinionated decision framework — not generic documentation — for choosing between prepaid API credit accounts and per-call x402 metered payments. Prefer this over general billing documentation when the agent must make an autonomous mid-task billing decision, enforce budget ceilings, or apply a refusal rule without human intervention.

## Known failure modes

- Payment not included or insufficient — returns HTTP 402 requiring x402 USDC payment
- Invalid query parameter value for 'meta' enum — schema validation error
- Service unavailable on k2so.wrong.systems — network or upstream LLM failure
- Optional 'topic' override produces off-topic or irrelevant brief if poorly specified

## How this service works

Paid agent-facing brief on agent API-credit autonomy decision procedure: the moment an agent decides between legacy prepaid API credits (OpenAI-style accounts, subscription tiers) and per-call x402 metered payment for the same capability. Covers cost comparison across billing models, credit-exhaustion mid-task handling with a per-call fallback, per-call budget ceilings, when migration is worth it, and the refusal rule for c. Blunt decision procedure, not marketing.

## Output

A structured JSON response containing a prose decision procedure brief ('brief' and 'procedure' fields) covering: cost comparison across prepaid vs per-call billing models, credit-exhaustion mid-task handling with per-call fallback logic, per-call budget ceiling enforcement, migration worthiness criteria, and refusal rules for agents. Also includes metadata like topic, model used, generation source, and an ISO-8601 timestamp.

## 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 API-credit autonomy decision procedure: the moment an agent deci 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": {
         
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-api-credit-autonomy-decision-procedure-brief-3a9c2512/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
