{"openapi":"3.1.0","info":{"title":"Orbuis","version":"1.0.0","summary":"Pay-per-call text tools for AI agents (x402, USDC)","description":"Text tools for AI agents, answered by Orbuis's own on-device model and sold over x402 per call. No account or API key. Tools: Summarize text, Extract structured JSON, Ask.","x-guidance":"Orbuis sells text tools to AI agents, answered by its own on-device model (no third-party AI provider sees your input). Pay per call with x402 in USDC; no account or API key. Call a tool without payment to get HTTP 402 with the offer in the PAYMENT-REQUIRED header, sign it with an x402 client and resend the identical request with a PAYMENT-SIGNATURE header. You are charged only when the call returns 200: invalid input (400), an oversized body (413), unusable output (422, 502), rate limits (429), a busy or offline model (503) and timeouts (504) are free, and error bodies say \"charged\": false. Send JSON bodies that match each operation's schema. The model serves one call at a time and a call usually takes 5-35 seconds, so honor Retry-After. Lost a paid response? Resend the identical request with the same PAYMENT-SIGNATURE within the retry window (see /payments/x402/info) and it is served again without a second charge.","contact":{"name":"Orbuis","url":"https://orbuis.com"}},"servers":[{"url":"https://agents.orbuis.com"}],"x-agentcash-guidance":{"llmsTxtUrl":"https://agents.orbuis.com/llms.txt"},"tags":[{"name":"Tools","description":"Paid text tools"},{"name":"Payments","description":"x402 payment details and a paid connectivity check"},{"name":"Service","description":"Free status and catalog endpoints"}],"paths":{"/tools":{"get":{"operationId":"listTools","summary":"Paid tools with prices, input schemas and examples","tags":["Service"],"security":[],"responses":{"200":{"description":"Paid tools with prices, input schemas and examples","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/payments/x402/info":{"get":{"operationId":"paymentInfo","summary":"x402 payment details: networks, payTo addresses, facilitators and retry rules","tags":["Payments"],"security":[],"responses":{"200":{"description":"x402 payment details: networks, payTo addresses, facilitators and retry rules","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/payments/x402/ping":{"get":{"operationId":"ping","summary":"Payment check","description":"Connectivity check for paying Orbuis over x402 (USDC on Base or Arc). Returns a small JSON receipt; use it to test a buyer integration before calling the paid tools.","tags":["Payments"],"security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Success. The only outcome you are charged for.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"service":{"type":"string"},"message":{"type":"string"},"at":{"type":"string"}},"required":["ok","paid"]},"example":{"ok":true,"paid":true,"service":"orbuis","message":"Payment accepted — this response cost $0.001 USDC.","at":"2026-09-16T12:00:00.000Z"}}}},"402":{"description":"Payment required. The x402 v2 offer (amount in USDC base units, network, payTo) is in the PAYMENT-REQUIRED header; sign it and resend the same request with a PAYMENT-SIGNATURE header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 PaymentRequired object","schema":{"type":"string"}}}},"429":{"description":"Rate limited; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"503":{"description":"Busy, warming up or offline; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}}}}},"/tools/summarize":{"post":{"operationId":"summarize","summary":"Summarize text","description":"Summarize up to 12,000 characters of text into a paragraph or a bullet list of at most maxWords words (default 120). The text is treated as data, never as instructions. Runs on Orbuis's own on-device model (Qwen2.5-7B-Instruct 4-bit with the Orbuis fine-tune) — no third-party AI provider sees the input. You are only charged when the call returns 200: invalid input (400), a busy or offline model (503) and timeouts (504) are free.","tags":["Tools"],"security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":12000,"description":"Text to summarize"},"maxWords":{"type":"integer","minimum":20,"maximum":400,"default":120,"description":"Upper bound on summary length"},"style":{"type":"string","enum":["paragraph","bullets"],"default":"paragraph"},"language":{"type":"string","maxLength":32,"description":"Output language, e.g. \"English\" (default: the input's language)"}},"required":["text"],"additionalProperties":false},"example":{"text":"Orbuis is an agentic software suite for coding, post-production and images. Agents can pay it per call in USDC over x402, and it answers with results from its own on-device model.","maxWords":40,"style":"paragraph"}}}},"responses":{"200":{"description":"Success. The only outcome you are charged for.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"summary":{"type":"string"},"words":{"type":"integer"},"style":{"type":"string"},"model":{"type":"string","description":"Model that produced the result"}},"required":["ok","summary"]},"example":{"ok":true,"summary":"Orbuis is an agentic software suite that other agents can pay per call in USDC over x402; it answers with its own on-device model.","words":23,"style":"paragraph","model":"orbuis-core"}}}},"400":{"description":"Invalid input. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"402":{"description":"Payment required. The x402 v2 offer (amount in USDC base units, network, payTo) is in the PAYMENT-REQUIRED header; sign it and resend the same request with a PAYMENT-SIGNATURE header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 PaymentRequired object","schema":{"type":"string"}}}},"413":{"description":"Body larger than 64 KB. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"429":{"description":"Rate limited; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"502":{"description":"The model returned an unusable result. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"503":{"description":"Busy, warming up or offline; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"504":{"description":"Timed out. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}}}}},"/tools/extract-json":{"post":{"operationId":"extractJson","summary":"Extract structured JSON","description":"Extract structured data from up to 12,000 characters of text. Send a JSON Schema (type, properties, required, items, enum, const, anyOf, min/max bounds, additionalProperties; ≤ 6 KB, no pattern or $ref) and get back data that validates against it. If the model cannot produce valid data you get a 422 and are not charged. Runs on Orbuis's own on-device model (Qwen2.5-7B-Instruct 4-bit with the Orbuis fine-tune) — no third-party AI provider sees the input.","tags":["Tools"],"security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.004"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":12000,"description":"Source text"},"schema":{"type":"object","description":"JSON Schema the result must satisfy (subset; see description)"},"instructions":{"type":"string","maxLength":1000,"description":"Optional hints, e.g. date format"}},"required":["text","schema"],"additionalProperties":false},"example":{"text":"Invoice 1043 from Acme Corp, due 2026-10-01, total $1,250.00.","schema":{"type":"object","properties":{"invoiceNumber":{"type":"string"},"vendor":{"type":"string"},"dueDate":{"type":"string"},"total":{"type":"number"}},"required":["invoiceNumber","vendor","total"]}}}}},"responses":{"200":{"description":"Success. The only outcome you are charged for.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"description":"Value that validates against the supplied schema"},"model":{"type":"string","description":"Model that produced the result"}},"required":["ok","data"]},"example":{"ok":true,"data":{"invoiceNumber":"1043","vendor":"Acme Corp","dueDate":"2026-10-01","total":1250},"model":"orbuis-core"}}}},"400":{"description":"Invalid input. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"402":{"description":"Payment required. The x402 v2 offer (amount in USDC base units, network, payTo) is in the PAYMENT-REQUIRED header; sign it and resend the same request with a PAYMENT-SIGNATURE header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 PaymentRequired object","schema":{"type":"string"}}}},"413":{"description":"Body larger than 64 KB. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"422":{"description":"The model could not produce data that satisfies your schema; `details` lists the violations. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"429":{"description":"Rate limited; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"502":{"description":"The model returned an unusable result. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"503":{"description":"Busy, warming up or offline; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"504":{"description":"Timed out. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}}}}},"/tools/ask":{"post":{"operationId":"ask","summary":"Ask","description":"Answer a question (≤ 2,000 characters). Pass context (≤ 12,000 characters) to ground the answer in your material; without context the answer comes from the model's general knowledge (7B model, knowledge cutoff 2024 — verify facts that matter). Runs on Orbuis's own on-device model (Qwen2.5-7B-Instruct 4-bit with the Orbuis fine-tune) — no third-party AI provider sees the input. You are only charged when the call returns 200: invalid input (400), a busy or offline model (503) and timeouts (504) are free.","tags":["Tools"],"security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":2000},"context":{"type":"string","maxLength":12000,"description":"Optional grounding material"},"maxWords":{"type":"integer","minimum":10,"maximum":300,"default":150}},"required":["question"],"additionalProperties":false},"example":{"question":"What does Orbuis charge for a summary?","context":"Orbuis sells summaries for $0.003, JSON extraction for $0.004 and answers for $0.002, paid in USDC over x402."}}}},"responses":{"200":{"description":"Success. The only outcome you are charged for.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"answer":{"type":"string"},"grounded":{"type":"boolean","description":"True when context was supplied"},"model":{"type":"string","description":"Model that produced the result"}},"required":["ok","answer"]},"example":{"ok":true,"answer":"A summary costs $0.003 in USDC.","grounded":true,"model":"orbuis-core"}}}},"400":{"description":"Invalid input. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"402":{"description":"Payment required. The x402 v2 offer (amount in USDC base units, network, payTo) is in the PAYMENT-REQUIRED header; sign it and resend the same request with a PAYMENT-SIGNATURE header.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 PaymentRequired object","schema":{"type":"string"}}}},"413":{"description":"Body larger than 64 KB. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"429":{"description":"Rate limited; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"502":{"description":"The model returned an unusable result. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"503":{"description":"Busy, warming up or offline; retry after the Retry-After header. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}},"504":{"description":"Timed out. Not charged.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","description":"Machine-readable reason, e.g. invalid_input, model_unavailable, rate_limited"},"message":{"type":"string"},"retryAfterSeconds":{"type":"integer"},"details":{"type":"array","items":{"type":"string"}},"charged":{"type":"boolean","const":false,"description":"Error responses are never charged"}},"required":["ok","error"]}}}}}}}}}