{"uid":"cap_N7hXyJeqJgFK4nlCaToYo","slug":"agentrxi-office-file-generator-8e746e24","name":"AgentRXI Office File Generator","description":"Make office files: an Excel spreadsheet (or CSV) from JSON rows or CSV text, or a Word document from Markdown (headings, bullets, bold, tables). Returns the file as base64, ready to save or attach. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/office?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"data":{"type":"string","description":"JSON array of objects or CSV text (xlsx/csv)"},"sheet":{"type":"string","description":"Sheet name"},"format":{"type":"string","description":"xlsx (default) | csv | docx"},"filename":{"type":"string"},"markdown":{"type":"string","description":"Document text (docx)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9FaExhoOFkK7lzkgHNpcS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts JSON/CSV data into Excel or CSV spreadsheets, or Markdown text into Word documents, returning the file as a base64-encoded string.","exampleAgentPrompt":"Take this JSON array of sales records and create an Excel spreadsheet called 'sales_report.xlsx' with a sheet named 'Q1 Sales', then give me the file as base64 so I can save it.","exampleUseCases":[{"title":"Export data table to Excel","prompt":"I have a JSON array of customer orders — can you turn that into an Excel file called 'orders.xlsx' with the sheet named 'Orders' so I can attach it to an email?"},{"title":"Generate Word report from Markdown","prompt":"Here's my project summary written in Markdown with headings, bullet points, and a table — can you convert it into a Word document (.docx) called 'project_summary.docx'?"},{"title":"Convert JSON to CSV for download","prompt":"Can you take this JSON array of employee records and export it as a CSV file named 'employees.csv' so I can open it in Google Sheets?"}],"resultDescription":"Returns a base64-encoded office file (xlsx, csv, or docx) ready to be decoded, saved to disk, or attached to an email. The response includes the file content encoded as a base64 string and the filename.","failureModes":["Missing 'data' field when format is xlsx or csv — returns error indicating required parameter","Missing 'markdown' field when format is docx — returns error","Invalid JSON in the data field — returns parse error","Unsupported format value — returns error listing valid formats (xlsx, csv, docx)","Oversized input payload — may timeout or return payload-too-large error","Payment failure (x402) — returns 402 status if USDC payment not completed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to produce a downloadable office file (Excel, CSV, or Word) from structured data or Markdown text, especially in automated pipelines where a base64 file output is convenient for passing to downstream steps like email attachment or file storage. Prefer over manual spreadsheet construction when JSON or CSV data is already available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:24.573Z","isFirstParty":false,"canonicalSlug":"agentrxi-office-file-generator-8e746e24"}