{"openapi":"3.1.0","info":{"title":"Acutis Sheets","version":"1.1.0","description":"Create styled XLSX workbooks with typed cells, multiple worksheets, filters, frozen headers, numeric formats and cached formula totals. Input strings remain text, including strings beginning with =. Price: 0.05 USDC per operation on Base mainnet via x402 v2. Empty unsigned POSTs inspect payment and discovery metadata only; empty signed requests are rejected before verification or settlement. Docs and one fixed example are free. No API key or wallet private key is sent to this service. JSON artifact envelopes carry base64 bytes, MIME type, size and SHA-256; decode bytes to save the file."},"servers":[{"url":"https://sheets.acutisignatius.com"}],"paths":{"/v1/workbooks/build":{"post":{"operationId":"sheetsWork","summary":"Excel workbooks your team can open.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":150},"currency":{"default":"USD","type":"string","enum":["USD","EUR","GBP","CAD","AUD","JPY","INR"]},"sheets":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":31},"columns":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":40},"label":{"type":"string","minLength":1,"maxLength":100},"format":{"default":"general","type":"string","enum":["general","integer","decimal","currency","percent"]}},"required":["key","label"],"additionalProperties":false}},"rows":{"maxItems":1000,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"},{"type":"null"}]}}},"totals":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["name","columns","rows"],"additionalProperties":false}},"accent":{"default":"#237b65","type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["title","sheets"],"additionalProperties":false},"example":{"title":"Quarterly sales","sheets":[{"name":"Sales","columns":[{"key":"region","label":"Region"},{"key":"units","label":"Units","format":"integer"},{"key":"revenue","label":"Revenue","format":"currency"}],"rows":[{"region":"North","units":42,"revenue":1299.5},{"region":"South","units":31,"revenue":949.25}],"totals":["units","revenue"]}]}}}},"responses":{"200":{"description":"XLSX + SHA-256; only released after successful settlement","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"worksheets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"rows":{"type":"integer","minimum":0},"columns":{"type":"integer","minimum":0}},"required":["name","rows","columns"],"additionalProperties":true}},"data_rows":{"type":"integer","minimum":0}},"required":["artifact","worksheets","data_rows"],"additionalProperties":true},"examples":{"fixed":{"summary":"Actual fixed example response","externalValue":"/v1/example"}}}}},"402":{"description":"x402 payment required. Retry exact input with PAYMENT-SIGNATURE."},"409":{"description":"Proof bound to another request or already processing"},"422":{"description":"Input, schema or processing limit invalid; no payment requested"},"429":{"description":"Instance capacity exhausted; Retry-After; no payment requested"},"503":{"description":"Work or facilitator unavailable; no protected result"}}}},"/v1/example":{"get":{"summary":"One fixed free example; query parameters do not customize it","responses":{"200":{"description":"XLSX + SHA-256","content":{"application/json":{"schema":{"type":"object","properties":{"artifact":{"type":"object","properties":{"filename":{"type":"string"},"mime_type":{"type":"string"},"size_bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base64":{"type":"string","contentEncoding":"base64"}},"required":["filename","mime_type","size_bytes","sha256","base64"],"additionalProperties":true},"worksheets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"rows":{"type":"integer","minimum":0},"columns":{"type":"integer","minimum":0}},"required":["name","rows","columns"],"additionalProperties":true}},"data_rows":{"type":"integer","minimum":0}},"required":["artifact","worksheets","data_rows"],"additionalProperties":true}}}}}}},"/health":{"get":{"responses":{"200":{"description":"Service, network and price"}}}}}}