{"openapi":"3.1.0","info":{"title":"Acutis Print","version":"1.1.0","description":"Turn headings, paragraphs, lists and tables into a paginated, styled A4 or Letter PDF with page numbers. No remote assets or arbitrary scripts. 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://print.acutisignatius.com"}],"paths":{"/v1/documents/render":{"post":{"operationId":"printWork","summary":"Finished PDF reports from structured content.","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":200},"subtitle":{"default":"","type":"string","maxLength":500},"author":{"default":"","type":"string","maxLength":100},"blocks":{"minItems":1,"maxItems":60,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"heading"},"text":{"type":"string","minLength":1,"maxLength":300},"level":{"default":"h2","type":"string","enum":["h2","h3"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"paragraph"},"text":{"type":"string","minLength":1,"maxLength":4000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":1000}}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"headers":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"rows":{"maxItems":200,"type":"array","items":{"maxItems":12,"type":"array","items":{"anyOf":[{"type":"string","maxLength":500},{"type":"number"},{"type":"boolean"},{"type":"null"}]}}}},"required":["type","headers","rows"],"additionalProperties":false}]}},"paper":{"default":"A4","type":"string","enum":["A4","Letter"]},"accent":{"default":"#237b65","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"footer":{"default":"","type":"string","maxLength":150}},"required":["title","blocks"],"additionalProperties":false},"example":{"title":"Weekly operations report","subtitle":"Week of October 5, 2026","author":"Example Operations","blocks":[{"type":"heading","text":"Results"},{"type":"paragraph","text":"Support closed 124 tickets this week. Median response time improved to 18 minutes."},{"type":"table","headers":["Team","Tickets","Median response"],"rows":[["Support",124,"18 minutes"],["Platform",36,"42 minutes"]]},{"type":"bullets","items":["Ship the revised onboarding flow.","Review the two outstanding infrastructure incidents."]}],"footer":"Example report · prepared for review"}}}},"responses":{"200":{"description":"PDF + 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},"pages":{"type":"integer","minimum":0},"paper":{"enum":["A4","Letter"]}},"required":["artifact","pages","paper"],"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":"PDF + 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},"pages":{"type":"integer","minimum":0},"paper":{"enum":["A4","Letter"]}},"required":["artifact","pages","paper"],"additionalProperties":true}}}}}}},"/health":{"get":{"responses":{"200":{"description":"Service, network and price"}}}}}}