---
title: "Download execution results as a JSON file."
method: GET
path: "/api/v1/execution/{execution}/download-results"
---

# Download execution results as a JSON file.

`GET /api/v1/execution/{execution}/download-results`

**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

## Path parameters

- `execution` string, required

## Response `200`

Success

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/trends/apis/trends-earth-api.md) · [All operations](https://skmtc.dev/trends/apis/trends-earth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trends/trends-earth-api/revisions/6bdbc0b84666/schema)
