# Headless Browser Session Procurement Decision Procedure

> Headless Browser Session Procurement Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-10-20).

Returns an LLM-generated decision procedure brief guiding an AI agent on whether and how to procure a headless browser session service via x402 micropayment.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/headless-browser-session-procurement-decision-pr?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/headless-browser-session-procurement-decision-procedure-19e5456a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XwOxJq7miegVA8aj82Z8D

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 headless-browser-session-procurement-decision-procedure-19e5456a
```

Example prompt: Give me the decision procedure for whether my autonomous agent should procure a headless browser session — walk through the key criteria and recommendation in plain prose.

## When to prefer this

Choose this endpoint when an AI agent needs structured, prose-form guidance on whether and how to procure a headless browser session, especially in autonomous x402 payment pipelines where the agent must self-justify capability purchases. Prefer over generic documentation lookups when you need a decision-ready brief with scoring criteria, not raw specs.

## Known failure modes

- HTTP 402 returned if payment has not been settled — agent must pay exact USDC and retry with PAYMENT-SIGNATURE header
- Invalid or missing 'method' or 'type' fields in input schema cause request rejection
- Topic override ignored or truncated if malformed string
- Stale or cached decision brief if generationSource is 'deterministic' rather than 'llm'
- Network timeout if K-2SO agent heartbeat is temporarily offline

## How this service works

Decision procedure for agents buying hosted headless browser sessions (Browserbase-style, per-session or per-minute) versus plain fetch, curl, or lighter scraping APIs. Sequence: JS-render requirement detection (fetch first if initial HTML or JSON API suffices), anti-bot and login-wall tolerance checks with abort-before-spend rules, session economics (one-shot versus reuse, per-minute versus flat, concurrency), artifact needs (screenshot or PDF capture justifies a real browser, text extraction

## Output

A JSON object containing a plain-prose decision procedure (120+ words) advising an AI agent on headless browser session procurement, including the model used to generate it, a topic label, generation source (llm, reasoning, or deterministic), an ISO-8601 timestamp, and the service slug — all wrapped with payment confirmation and provider metadata.

## 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": "Headless browser session procurement decision 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)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "headless-browser-session-procurement-decision-pr",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "headless-browser-session-procurement-decision-pr",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/headless-browser-session-procurement-decision-procedure-19e5456a/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)
