Download Report
Supporting APIs
Download Report
Downloads the generated report in the required format. Supported formats: pdf, docx, and json.
- For
jsonformat, the response body contains the structured report data. - For
pdfanddocx, the response contains the binary file content.
POST
Download Report
Documentation Index
Fetch the complete documentation index at: https://docs.wokelo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Downloads the generated report in the required format such as docx, pdf, and json. The format is passed in the request body.Endpoint Details
- Method: POST
- Endpoint:
/api/assets/download_report/
Authentication requirements
- Include a valid JWT token in your request header
- If you don’t have a token yet, you can get one from the
/auth/token/endpoint first.
Request
Request Parameter
Header Parameters
JWT token obtained from the Authentication request
Body Parameters
Export format. Permitted values: “pdf”, “docx”, “json”
Id of the report to be exported
Response
Successful response will include download the file in the specified formatAuthorizations
JWT token obtained from the /auth/token/ endpoint.
Body
application/json
Response
Report downloaded successfully. Returns binary file for pdf/docx, or structured JSON data for json format.
Structured report data (returned only when file_type is json).