Download execution results as a JSON file.
Authentication: JWT token required Access: Execution owners, admins, or superadmins Format: Returns results as downloadable JSON file
Path Parameters:
- execution: Execution ID (UUID format)
Response: JSON file download
- Content-Type: text/plain
- Content-Disposition: attachment; filename=results.json
- Body: JSON-formatted execution results
Use Cases:
- Download analysis results for offline processing
- Archive execution outputs for record keeping
- Share results with external stakeholders
- Integrate with external reporting systems
Error Responses:
- 404 Not Found: Execution does not exist or user lacks access
- 500 Internal Server Error: Failed to retrieve results
get/api/v1/execution/{execution}/download-results
Request
- Base URLhttps://api.trends.earth/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
executionstring required
Path parameter: execution
Response
Success
object required
Changes
No recorded changes to this operation across all 6 revisions of this API.