Report XLSX generation
Generate a report-oriented XLSX workbook from a shared report model with tabs and tables for analysis handoff, finance modeling, and spreadsheet-friendly exports.
Browser note: GET on this URL serves human-readable docs. Paid execution still requires POST with x402 settlement.
Best when the compliance workflow needs tabular review, evidence packing, or workbook-native handoff.
Example request body
Use this payload shape for the paid POST call.
{
"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%"
}
]
}
}
}Request schema
The canonical body contract as exposed through discovery and OpenAPI.
{
"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
}Example response
A representative output payload for the route.
{
"success": true,
"data": {
"endpoint": "/api/tools/xlsx/generate",
"tool": "Spreadsheet Generate",
"handlerMode": "auto_local",
"previewToken": "18-spreadsheet-generate"
},
"source": "auto-local-engine"
}cURL
Use this as the starting point for HTTP execution after the initial 402 challenge.
curl -X POST "https://api.aurelianflo.com/api/tools/report/xlsx/generate" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
# include x402 settlement headers after the initial 402 challenge \
-d '{
"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%"
}
]
}
}
}'Related routes
Use these when you want the lower-level primitive, the buyer-facing memo workflow, or the agent install surface around this endpoint.
This route is documented as a standalone endpoint. Use the service catalog for adjacent workflows.