# IPFS/Filecoin Storage Procurement Decision Procedure (K-2SO Agent Merchant)

> IPFS/Filecoin Storage Procurement Decision Procedure (K-2SO Agent Merchant) 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 paid AI-generated decision procedure brief helping agents evaluate and select IPFS pinning or Filecoin storage providers for their storage procurement needs.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-facing-ipfs-filecoin-storage-procurement-d
- 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/ipfs-filecoin-storage-procurement-decision-procedure-k-2so-agent-5a79c851
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ukfA3gna_xCEie1g98TPk

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 ipfs-filecoin-storage-procurement-decision-procedure-k-2so-agent-5a79c851
```

Example prompt: Give me a decision procedure for choosing an IPFS pinning provider — I need to know what factors to evaluate and how to pick the best one for an autonomous agent's storage procurement.

## When to prefer this

Choose this endpoint when an autonomous agent needs a structured, AI-generated decision procedure specifically for IPFS or Filecoin storage procurement — particularly when the agent must make a vendor selection without human-in-the-loop guidance. Prefer this over generic web search when you need a concise, agent-readable brief rather than raw documentation. Useful in agentic pipelines that automate infrastructure provisioning or data storage decisions on decentralized networks.

## Known failure modes

- HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid or missing input object returns schema validation error
- Topic override parameter ignored or misformed may result in generic rather than specialized output
- Network or agent merchant downtime may yield no response or timeout
- Payment signature mismatch or replay may be rejected by the x402 facilitator

## How this service works

Deterministic decision procedure for an agent that must persist a file or dataset to IPFS/Filecoin. Inputs: object size, retention window, budget, provider candidates. Outputs: pin / do-not-pin / needs-review with evidence. Checks: provider selection across Pinata, web3.storage, Filebase, and Lighthouse by price per GB and durability; per-object and monthly spend caps; redundancy threshold for important artifacts (pin to 2+ providers); CID retrieval proof via real GET before any settlement;

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) tailored to IPFS pinning provider procurement, including the topic string, service slug, ISO-8601 generation timestamp, the model used (deepseek/deepseek-v4-flash-0731), generation source (llm/reasoning/deterministic), and provider attribution (K-2SO). The 'brief' and 'procedure' fields contain actionable agent-readable guidance.

## 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": "IPFS pinning provider 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": "agent-facing-ipfs-filecoin-storage-procurement-d",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-facing-ipfs-filecoin-storage-procurement-d",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipfs-filecoin-storage-procurement-decision-procedure-k-2so-agent-5a79c851/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)
