{"title":"Report XLSX generation","routeKey":"POST /api/tools/report/xlsx/generate","method":"POST","path":"/api/tools/report/xlsx/generate","description":"Generate a report-oriented XLSX workbook from a shared report model with tabs and tables for analysis handoff, finance modeling, and spreadsheet-friendly exports.","proof":"Best when the compliance workflow needs tabular review, evidence packing, or workbook-native handoff.","discipline":"Documents","category":"generated/document","price":"$0.07 USDC","outputKind":"json","docsOnlyGet":true,"requestExample":{"report_meta":{"report_type":"ops-workbook","title":"Ops Workbook","author":"AurelianFlo"},"executive_summary":["Workbook rows are derived from the shared report model."],"tables":{"metrics":{"columns":["metric","value"],"rows":[{"metric":"availability","value":"99.9%"}]}}},"requestSchema":{"type":"object","properties":{"report_meta":{"type":"object","properties":{"report_type":{"type":"string"},"title":{"type":"string"},"report_title":{"type":"string"},"name":{"type":"string"},"author":{"type":"string"},"owner":{"type":"string"},"date":{"type":"string"},"version":{"type":"string"}},"additionalProperties":true},"executive_summary":{"type":"array","items":{"type":"string"}},"headline_metrics":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]},"unit":{"type":"string"}},"required":["label"],"additionalProperties":true}},"tables":{"type":"object","additionalProperties":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"}},"rows":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}}},"additionalProperties":true}},"export_artifacts":{"type":"object","properties":{"workbook_rows":{"type":"object","additionalProperties":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}}}},"additionalProperties":true},"chart_hints":{"type":"array","items":{"type":"object","additionalProperties":true}},"result":{"type":"object","additionalProperties":true}},"required":["report_meta"],"additionalProperties":true},"outputExample":{"success":true,"data":{"endpoint":"/api/tools/xlsx/generate","tool":"Spreadsheet Generate","handlerMode":"auto_local","previewToken":"18-spreadsheet-generate"},"source":"auto-local-engine"},"relatedLinks":[],"curlExample":"curl -X POST \"https://api.aurelianflo.com/api/tools/report/xlsx/generate\" \\\n  -H \"Accept: application/json\" \\\n  -H \"Content-Type: application/json\" \\\n  # include x402 settlement headers after the initial 402 challenge \\\n  -d '{\n  \"report_meta\": {\n    \"report_type\": \"ops-workbook\",\n    \"title\": \"Ops Workbook\",\n    \"author\": \"AurelianFlo\"\n  },\n  \"executive_summary\": [\n    \"Workbook rows are derived from the shared report model.\"\n  ],\n  \"tables\": {\n    \"metrics\": {\n      \"columns\": [\n        \"metric\",\n        \"value\"\n      ],\n      \"rows\": [\n        {\n          \"metric\": \"availability\",\n          \"value\": \"99.9%\"\n        }\n      ]\n    }\n  }\n}'","links":{"apiCatalog":"https://api.aurelianflo.com/api","openApi":"https://api.aurelianflo.com/openapi.json","mcpDocs":"https://api.aurelianflo.com/mcp/docs"}}