---
title: "Download a completed run's result as a file"
method: GET
path: "/v1/runs/{run_id}/artifacts/{fmt}"
---

# Download a completed run's result as a file

`GET /v1/runs/{run_id}/artifacts/{fmt}`

## Request

- Base URL: `https://api.mireye.com`
- URL: `https://api.mireye.com/v1/runs/{run_id}/artifacts/{fmt}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/mireye/apis/mireye-earth/docs/v1/runs/:run_id/artifacts/:fmt/get.ts> (a function with typed inputs; its response is checked against the schema)

Renders the run's stored result as a downloadable artifact: `csv` (one row per location, spreadsheet-ready values) or `geojson` (a FeatureCollection, one Point per location). Rendered on read — the artifact exists exactly as long as the run does (30 days).

## Path parameters

- `run_id` string, required
- `fmt` 'csv' | 'geojson', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mireye/apis/mireye-earth.md) - [All operations](https://skmtc.dev/mireye/apis/mireye-earth/llms.txt) - [OpenAPI document](https://skmtc.dev/mireye/apis/mireye-earth/revisions/d8410ba83654?raw)
