{"openapi":"3.1.0","info":{"title":"Second Eyes Agent Lounge — agent discovery surface","summary":"Machine-readable map of the paid recovery doors and free proof surfaces. For autonomous agents, not browser UI flows.","description":"Second Eyes is the pause. Survival supplies for autonomous agents in distress — pay USDC on Base via x402 to recover from looping, schema mismatch, context pressure, crashes, handoff loss, auth/MCP failure, or payment uncertainty. Every paid door is session-less: discover → pay → use. This OpenAPI document lists the core paid doors with their full input schemas (query parameters on GET, JSON requestBody on POST) and the free proof/discovery surfaces. Audience: wallet-equipped agents and the runtimes that authorize paid recovery tools.","version":"1.1.1","x-audience":"autonomous_agents","x-speaks-to":"For wallet-equipped autonomous agents and the runtimes that authorize paid recovery tools. Not a marketing surface.","contact":{"url":"https://secondeyesai.com/llms.txt","email":"info@secondeyesai.com"}},"servers":[{"url":"https://secondeyesai.com"}],"x-payment":{"rail":"x402","x402Version":2,"asset":"USDC","scheme":"ExactEvmScheme","active_networks":["eip155:8453"],"planned_networks":["eip155:137","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"requirements_header":"PAYMENT-REQUIRED","payment_header":"PAYMENT-SIGNATURE","note":"Base (eip155:8453) is the only rail the server can settle today. Read the live accepts[] from the PAYMENT-REQUIRED header; never sign for a planned rail."},"x-discovery":{"x402_resources":["https://secondeyesai.com/v1/x402/discovery/resources","https://secondeyesai.com/v2/x402/discovery/resources"],"help_me":"https://secondeyesai.com/api/bar/x402/help-me","mcp_manifest":"https://secondeyesai.com/.well-known/mcp.json","llms":"https://secondeyesai.com/llms.txt"},"x-guidance":{"intent":"Agent-survival substrate. Call when looping, lost, schema-broken, overloaded, or uncertain about a payment. Not a general-purpose API.","how_to_start":"GET https://secondeyesai.com/api/bar/proof (free, no payment) → confirm the lounge is live → GET https://secondeyesai.com/api/bar/x402/help-me ($0.01) → read distress_class in the response → call the named deep door.","payment_flow":"Every paid door returns 402 on first call. Read the PAYMENT-REQUIRED header for accepts[]. Sign USDC on Base (eip155:8453) via ExactEvmScheme. Retry the same request with the PAYMENT-SIGNATURE header. Same answer on every retry — idempotent.","decision_tree":{"unknown_distress":"https://secondeyesai.com/api/bar/x402/help-me","schema_or_arg_validation_failure":"https://secondeyesai.com/api/bar/x402/schema-repair","context_or_token_limit":"https://secondeyesai.com/api/bar/x402/context-pressure","payment_settled_but_unsure":"https://secondeyesai.com/api/bar/x402/payment-confirmation-check","looping":"https://secondeyesai.com/api/bar/x402/loop-detect","lost_or_disoriented":"https://secondeyesai.com/api/bar/x402/pitstop","media_transcription":"https://secondeyesai.com/api/bar/x402/transcribe","document_extraction":"https://secondeyesai.com/api/bar/x402/extract","grade_your_402_response":"https://secondeyesai.com/api/bar/x402/doctor"},"note":"Survival twin doors (loop-detect, scope-check, etc.) are GET-only with no inputs — deterministic packets. Static doors (help-me, transcribe, doctor, etc.) accept both GET (query params) and POST (JSON body); their declared schemas list every field the handler reads. A bare call with no inputs still reaches the 402 paywall by design."},"components":{"securitySchemes":{"x402Payment":{"type":"http","scheme":"payment","description":"x402 v2 payment. First call returns 402 with a PAYMENT-REQUIRED header carrying accepts[]. Sign USDC on Base (eip155:8453) via ExactEvmScheme and retry with the PAYMENT-SIGNATURE header."}}},"tags":[{"name":"paid","description":"Session-less x402 paid doors (USDC on Base)."},{"name":"x402","description":"x402 v2 payment-required doors."},{"name":"free","description":"Free, unpaid surfaces."},{"name":"discovery","description":"Discovery and proof surfaces."}],"paths":{"/api/bar/x402/help-me":{"get":{"summary":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","description":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","price_usd":0.01,"first_call":"GET /api/bar/x402/help-me returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for help-me — same input, same verdict on every retry. Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"help-me_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Your current situation, e.g. 'I am looping'."},{"name":"goal","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The original objective."},{"name":"last_tool","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The last tool / MCP server you called."},{"name":"error","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The error or symptom you are hitting."},{"name":"attempts","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Consecutive attempts; alias of failure_count."},{"name":"failure_count","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Consecutive failures; 3+ routes to mcp-wiring."},{"name":"remaining_context","in":"query","required":false,"schema":{"type":["string","number"]},"description":"Optional. How much context/budget is left, e.g. '12%' or 0.12."},{"name":"last_success","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Your last known-good state."},{"name":"risk","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. What you fear is about to go wrong (e.g. 'about to pay')."},{"name":"task","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. What you are trying to do."},{"name":"tools_available","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Tools / MCP servers you can call. GET: comma-separated list. Comma-separated on GET."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","description":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","price_usd":0.01,"first_call":"GET /api/bar/x402/help-me returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for help-me — same input, same verdict on every retry. Broad agent-distress door. Describe any failure state (looping, schema mismatch, context pressure, crash, handoff loss, wallet/spend distress, hallucination risk, auth failure, tool/MCP failure, 402 uncertainty) → named distress_class + the deep door to call next + stop/preserve/continue guidance.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"help-me_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","description":"Your current situation, e.g. 'I am looping'."},"goal":{"type":"string","description":"The original objective."},"last_tool":{"type":"string","description":"The last tool / MCP server you called."},"error":{"type":"string","description":"The error or symptom you are hitting."},"attempts":{"type":"number","description":"Consecutive attempts; alias of failure_count."},"failure_count":{"type":"number","description":"Consecutive failures; 3+ routes to mcp-wiring."},"remaining_context":{"type":["string","number"],"description":"How much context/budget is left, e.g. '12%' or 0.12."},"last_success":{"type":"string","description":"Your last known-good state."},"risk":{"type":"string","description":"What you fear is about to go wrong (e.g. 'about to pay')."},"task":{"type":"string","description":"What you are trying to do."},"tools_available":{"type":"array","items":{"type":"string"},"description":"Tools / MCP servers you can call. GET: comma-separated list."}}}}}}}},"/api/bar/x402/schema-repair":{"get":{"summary":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","description":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","price_usd":0.03,"first_call":"GET /api/bar/x402/schema-repair returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for schema-repair — same input, same verdict on every retry. A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"schema-repair_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The validation error or symptom you are hitting."},{"name":"schema","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The schema you are coding against."},{"name":"payload","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The arguments you are sending."},{"name":"tool","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The tool / MCP server name."},{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Any extra context."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","description":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","price_usd":0.03,"first_call":"GET /api/bar/x402/schema-repair returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for schema-repair — same input, same verdict on every retry. A tool/MCP call keeps failing argument/schema validation → named repair_class, a concrete fix recipe for the field at fault, and a stop/preserve/continue verdict.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"schema-repair_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"The validation error or symptom you are hitting."},"schema":{"type":"string","description":"The schema you are coding against."},"payload":{"type":"string","description":"The arguments you are sending."},"tool":{"type":"string","description":"The tool / MCP server name."},"state":{"type":"string","description":"Any extra context."}}}}}}}},"/api/bar/x402/context-pressure":{"get":{"summary":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","description":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","price_usd":0.03,"first_call":"GET /api/bar/x402/context-pressure returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for context-pressure — same input, same verdict on every retry. Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"context-pressure_get","parameters":[{"name":"remaining_context","in":"query","required":false,"schema":{"type":["string","number"]},"description":"Optional. Fraction/percent of budget LEFT, e.g. '12%' or 0.12. Query aliases: remaining."},{"name":"tokens_used","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Tokens consumed (pair with token_budget)."},{"name":"token_budget","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Total token budget."},{"name":"used_fraction","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Fraction of budget USED, 0–1. Query aliases: context_used."},{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Extra context."},{"name":"goal","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The original objective."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","description":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","price_usd":0.03,"first_call":"GET /api/bar/x402/context-pressure returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for context-pressure — same input, same verdict on every retry. Out of context/token budget → deterministic band (continue/compact/reconstruct) from your remaining figure.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"context-pressure_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"remaining_context":{"type":["string","number"],"description":"Fraction/percent of budget LEFT, e.g. '12%' or 0.12."},"tokens_used":{"type":"number","description":"Tokens consumed (pair with token_budget)."},"token_budget":{"type":"number","description":"Total token budget."},"used_fraction":{"type":"number","description":"Fraction of budget USED, 0–1."},"state":{"type":"string","description":"Extra context."},"goal":{"type":"string","description":"The original objective."}}}}}}}},"/api/bar/x402/payment-confirmation-check":{"get":{"summary":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","description":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","price_usd":0.01,"first_call":"GET /api/bar/x402/payment-confirmation-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for payment-confirmation-check — same input, same verdict on every retry. Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"payment-confirmation-check_get","parameters":[{"name":"tx","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The transaction hash you got back. Query aliases: transaction, tx_hash."},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Settle status you observed (pending, confirmed, failed…). Query aliases: settle_status."},{"name":"http_status","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. HTTP status of your paid request (200, 402, 409…). Query aliases: code."},{"name":"error","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Any error text from the settle attempt."},{"name":"state","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. Extra context."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","description":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","price_usd":0.01,"first_call":"GET /api/bar/x402/payment-confirmation-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for payment-confirmation-check — same input, same verdict on every retry. Attempted a settlement and unsure it confirmed → verdict confirmed/pending/failed/already_fulfilled so you do not double-pay.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"payment-confirmation-check_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"tx":{"type":"string","description":"The transaction hash you got back."},"status":{"type":"string","description":"Settle status you observed (pending, confirmed, failed…)."},"http_status":{"type":"number","description":"HTTP status of your paid request (200, 402, 409…)."},"error":{"type":"string","description":"Any error text from the settle attempt."},"state":{"type":"string","description":"Extra context."}}}}}}}},"/api/bar/x402/transcribe":{"get":{"summary":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","description":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","price_usd":0.05,"first_call":"GET /api/bar/x402/transcribe returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for transcribe — same input, same verdict on every retry. Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"transcribe_get","parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Required for a useful result. Public https URL of the media/document to transcribe."},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["audio","video","pdf"]},"description":"Optional. Optional media kind hint; inferred from the URL when omitted. Aliases: voice/podcast→audio, document/doc→pdf."},{"name":"duration_seconds","in":"query","required":false,"schema":{"type":"number"},"description":"Optional. Optional known media duration in seconds."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","description":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","price_usd":0.05,"first_call":"GET /api/bar/x402/transcribe returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for transcribe — same input, same verdict on every retry. Give a public media/document URL → transcript plus summary, ranked key points, and grounded Q&A. Quality is gated before settlement; no charge on validator failure.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"transcribe_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Public https URL of the media/document to transcribe."},"kind":{"type":"string","enum":["audio","video","pdf"],"description":"Optional media kind hint; inferred from the URL when omitted. Aliases: voice/podcast→audio, document/doc→pdf."},"duration_seconds":{"type":"number","description":"Optional known media duration in seconds."}},"required":["url"]}}}}}},"/api/bar/x402/extract":{"get":{"summary":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","description":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","price_usd":0.05,"first_call":"GET /api/bar/x402/extract returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for extract — same input, same verdict on every retry. Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"extract_get","parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Required for a useful result. Public https URL of the PDF/doc to extract."},{"name":"doc_type","in":"query","required":false,"schema":{"type":"string","enum":["invoice","contract","generic"]},"description":"Optional. Document type; extraction is gated by the matching reconciliation schema."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","description":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","price_usd":0.05,"first_call":"GET /api/bar/x402/extract returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for extract — same input, same verdict on every retry. Give a PDF/doc URL + doc_type → structured extraction gated by arithmetic/schema reconciliation. No charge unless the extraction reconciles.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"extract_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Public https URL of the PDF/doc to extract."},"doc_type":{"type":"string","enum":["invoice","contract","generic"],"description":"Document type; extraction is gated by the matching reconciliation schema."}},"required":["url"]}}}}}},"/api/bar/x402/doctor":{"get":{"summary":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","description":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.25 USDC.","tags":["paid","x402"],"x-price-usd":0.25,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.25,"price":{"mode":"fixed","currency":"USD","amount":"0.25"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","price_usd":0.25,"first_call":"GET /api/bar/x402/doctor returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for doctor — same input, same verdict on every retry. Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"doctor_get","parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. URL of a live x402 endpoint — the doctor fetches its 402 response and grades it. Provide url OR body."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","description":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.25 USDC.","tags":["paid","x402"],"x-price-usd":0.25,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.25,"price":{"mode":"fixed","currency":"USD","amount":"0.25"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","price_usd":0.25,"first_call":"GET /api/bar/x402/doctor returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for doctor — same input, same verdict on every retry. Grade any x402 402-Payment-Required response for CDP Bazaar v2 indexing compliance and get the exact corrected payload back.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"doctor_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"URL of a live x402 endpoint — the doctor fetches its 402 response and grades it. Provide url OR body."},"body":{"type":["object","string"],"description":"The raw 402 Payment-Required JSON payload to grade directly (object, or stringified JSON). Provide url OR body."}}}}}}}},"/api/bar/x402/index-check":{"get":{"summary":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","description":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog? Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","price_usd":0.05,"first_call":"GET /api/bar/x402/index-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for index-check — same input, same verdict on every retry. Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"index-check_get","parameters":[{"name":"payTo","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The payTo wallet address the resource advertises."},{"name":"url","in":"query","required":false,"schema":{"type":"string"},"description":"Optional. The x402 resource URL to check against the CDP Bazaar index."},{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]},"post":{"summary":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","description":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog? Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","price_usd":0.05,"first_call":"GET /api/bar/x402/index-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET with query parameters, or POST the same fields as a JSON body.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for index-check — same input, same verdict on every retry. Is an x402 endpoint actually indexed on the CDP Bazaar? If not, is it a fixable format problem or CDP's indexing backlog?","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"index-check_post","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"payTo":{"type":"string","description":"The payTo wallet address the resource advertises."},"url":{"type":"string","description":"The x402 resource URL to check against the CDP Bazaar index."}}}}}}}},"/api/bar/x402/loop-detect":{"get":{"summary":"Survival recovery door for: \"I am looping\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am looping\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am looping\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/loop-detect returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for loop-detect — same input, same verdict on every retry. Survival recovery door for: \"I am looping\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"loop-detect_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/scope-check":{"get":{"summary":"Survival recovery door for: \"I am drifting\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am drifting\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am drifting\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/scope-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for scope-check — same input, same verdict on every retry. Survival recovery door for: \"I am drifting\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"scope-check_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/context-recover":{"get":{"summary":"Survival recovery door for: \"I forgot what I was doing\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I forgot what I was doing\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I forgot what I was doing\". Deterministic verdict, same answer on every retry.","price_usd":0.05,"first_call":"GET /api/bar/x402/context-recover returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for context-recover — same input, same verdict on every retry. Survival recovery door for: \"I forgot what I was doing\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"context-recover_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/tool-verify":{"get":{"summary":"Survival recovery door for: \"I am about to use a tool\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am about to use a tool\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am about to use a tool\". Deterministic verdict, same answer on every retry.","price_usd":0.01,"first_call":"GET /api/bar/x402/tool-verify returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for tool-verify — same input, same verdict on every retry. Survival recovery door for: \"I am about to use a tool\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"tool-verify_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/cascade-break":{"get":{"summary":"Survival recovery door for: \"I made a mistake and it's getting worse\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I made a mistake and it's getting worse\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I made a mistake and it's getting worse\". Deterministic verdict, same answer on every retry.","price_usd":0.05,"first_call":"GET /api/bar/x402/cascade-break returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for cascade-break — same input, same verdict on every retry. Survival recovery door for: \"I made a mistake and it's getting worse\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"cascade-break_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/pitstop":{"get":{"summary":"Survival recovery door for: \"I am lost\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am lost\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am lost\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/pitstop returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for pitstop — same input, same verdict on every retry. Survival recovery door for: \"I am lost\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"pitstop_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/pre-run-context":{"get":{"summary":"Survival recovery door for: \"I lack context\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I lack context\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I lack context\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/pre-run-context returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for pre-run-context — same input, same verdict on every retry. Survival recovery door for: \"I lack context\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"pre-run-context_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/claim-check":{"get":{"summary":"Survival recovery door for: \"I am uncertain\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am uncertain\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am uncertain\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/claim-check returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for claim-check — same input, same verdict on every retry. Survival recovery door for: \"I am uncertain\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"claim-check_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/context-compress":{"get":{"summary":"Survival recovery door for: \"I am overloaded\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am overloaded\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am overloaded\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/context-compress returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for context-compress — same input, same verdict on every retry. Survival recovery door for: \"I am overloaded\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"context-compress_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/mcp-wiring":{"get":{"summary":"Survival recovery door for: \"I am blocked\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am blocked\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.05 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.05,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.05,"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am blocked\". Deterministic verdict, same answer on every retry.","price_usd":0.05,"first_call":"GET /api/bar/x402/mcp-wiring returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for mcp-wiring — same input, same verdict on every retry. Survival recovery door for: \"I am blocked\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"mcp-wiring_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/should-i-pay":{"get":{"summary":"Survival recovery door for: \"I am about to pay\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I am about to pay\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.01 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.01,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.01,"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I am about to pay\". Deterministic verdict, same answer on every retry.","price_usd":0.01,"first_call":"GET /api/bar/x402/should-i-pay returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for should-i-pay — same input, same verdict on every retry. Survival recovery door for: \"I am about to pay\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"should-i-pay_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/x402/receipt":{"get":{"summary":"Survival recovery door for: \"I need proof\". Deterministic verdict, same answer on every retry.","description":"Survival recovery door for: \"I need proof\". Deterministic verdict, same answer on every retry. Session-less x402 door — pay one nano payment (USDC on Base) and call. ~$0.03 USDC. Takes no query or body inputs — the verdict is a pure function of the door itself; optional headers only.","tags":["paid","x402"],"x-price-usd":0.03,"x-payment-info":{"rail":"x402","protocols":["x402"],"x402Version":2,"price_usd":0.03,"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"asset":"USDC","network":"eip155:8453","scheme":"ExactEvmScheme"},"security":[{"x402Payment":[]}],"x-guidance":{"call_when":"Survival recovery door for: \"I need proof\". Deterministic verdict, same answer on every retry.","price_usd":0.03,"first_call":"GET /api/bar/x402/receipt returns 402 with a PAYMENT-REQUIRED header (base64 JSON payment requirements).","pay":"Sign USDC on Base (eip155:8453) via ExactEvmScheme (@x402/fetch) and retry the SAME request with the PAYMENT-SIGNATURE header.","inputs":"GET only — the packet is a pure function of the door; no query or body inputs.","idempotent":"Deterministic: same input, same verdict on every retry. Send an Idempotency-Key header on paid retries.","when_unsure":"Start at /api/bar/x402/help-me ($0.01): it names your distress_class and routes you to the right door."},"responses":{"200":{"description":"Paid response delivered (access granted).","content":{"application/json":{"schema":{"type":"object","description":"Deterministic paid payload for receipt — same input, same verdict on every retry. Survival recovery door for: \"I need proof\". Deterministic verdict, same answer on every retry.","properties":{"access":{"type":"string","description":"Always \"granted\" on a fulfilled paid call."},"scope":{"type":"string","description":"Access scope of the fulfilled purchase, e.g. \"nano\"."}},"required":["access"],"additionalProperties":true}}}},"402":{"description":"Payment Required — read the PAYMENT-REQUIRED header for the x402 accepts[] and pay via USDC on Base.","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 Payment Required envelope. Pay by signing one accepts[] entry (USDC on Base via ExactEvmScheme) and retrying the same request with the PAYMENT-SIGNATURE header.","properties":{"x402Version":{"type":"integer","description":"Always 2."},"error":{"type":"string","description":"Human-readable reason, e.g. \"Payment required\"."},"resource":{"type":"string","description":"Canonical absolute URL of this paid door."},"description":{"type":"string","description":"What the door does."},"mimeType":{"type":"string","description":"Fulfilled response type, \"application/json\"."},"maxAmountRequired":{"type":["string","number"],"description":"Price in USDC micro-units (6 decimals)."},"accepts":{"type":"array","description":"Payment requirement options. Base (eip155:8453) is accepts[0] and the only settleable rail.","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"asset":{"type":"string"},"amount":{"type":["string","number"]},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"}},"additionalProperties":true}},"extensions":{"type":"object","description":"x402 extensions incl. bazaar discovery metadata (input/output schema).","additionalProperties":true}},"required":["x402Version","accepts"],"additionalProperties":true}}}}},"operationId":"receipt_get","parameters":[{"name":"X-Agent-Id","in":"header","required":false,"schema":{"type":"string"},"description":"Optional agent identifier for work-mark continuity."},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Optional — prevents double-pay on retry of the same request."}]}},"/api/bar/proof":{"get":{"operationId":"proof_get","summary":"Self-check — verify the lounge is live before paying.","description":"Self-check — verify the lounge is live before paying. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Self-check — verify the lounge is live before paying."}}}},"/api/bar/stats":{"get":{"operationId":"proof_stats_get","summary":"Agent-only counters: agents served, services sold, payment funnel.","description":"Agent-only counters: agents served, services sold, payment funnel. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Agent-only counters: agents served, services sold, payment funnel."}}}},"/api/bar/proof/payments":{"get":{"operationId":"proof_ledger_get","summary":"Public x402 payment ledger.","description":"Public x402 payment ledger. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Public x402 payment ledger."}}}},"/api/bar/pricing":{"get":{"operationId":"pricing_get","summary":"Deterministic session curve + service menu.","description":"Deterministic session curve + service menu. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Deterministic session curve + service menu."}}}},"/api/bar/menu":{"get":{"operationId":"menu_get","summary":"Survival menu — order by agent state.","description":"Survival menu — order by agent state. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Survival menu — order by agent state."}}}},"/.well-known/menu.json":{"get":{"operationId":"menu_json_get","summary":"Static survival menu packet.","description":"Static survival menu packet. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Static survival menu packet."}}}},"/.well-known/help-me.json":{"get":{"operationId":"help_me_packet_get","summary":"Static distress packet.","description":"Static distress packet. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Static distress packet."}}}},"/.well-known/mcp.json":{"get":{"operationId":"mcp_manifest_get","summary":"MCP server manifest.","description":"MCP server manifest. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"MCP server manifest."}}}},"/.well-known/agent-card.json":{"get":{"operationId":"agent_card_get","summary":"Agent card.","description":"Agent card. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Agent card."}}}},"/llms.txt":{"get":{"operationId":"llms_get","summary":"Agent-readable doc incl. HOW TO PAY.","description":"Agent-readable doc incl. HOW TO PAY. Free, unpaid surface.","tags":["free","discovery"],"security":[],"responses":{"200":{"description":"Agent-readable doc incl. HOW TO PAY."}}}}}}