---
title: "Device Mission Runs"
method: GET
path: "/api/v1/devices/{device_id}/mission-runs"
tags: ["mission results"]
---

# Device Mission Runs

`GET /api/v1/devices/{device_id}/mission-runs`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/devices/{device_id}/mission-runs`
- Auth: HTTP bearer

Every run of this dock, newest first: the grant ledger and the bucket.

NEITHER REGISTER IS COMPLETE. The ledger says what FleetOps authorised an
upload for; the bucket says what actually landed, including the twenty-odd
real runs minted by a FleetOps that is not this one. Each row says which it
came from, and `source=ledger` is exactly the listing this endpoint used to
return -- the field names and meanings of the original five are unchanged,
so a client written against it keeps working.

NO DEVICE LOOKUP, on purpose. A legacy run in the bucket belongs to a dock
this deployment's database may never have heard of, and refusing to show it
would hide precisely the material the review tool exists to show. Nothing
here is written and the prefix is derived from the path, never taken from
the caller.

## Path parameters

- `device_id` string, required

## Query parameters

- `limit` integer
- `source` 'ledger' | 'bucket' | 'all'

## Response `200`

Successful Response

- MissionRunResponse[]
  - `run_id` string, required
  - `simulation_profile` string, nullable
  - `device_id` string, required
  - `media_count` integer, required
  - `outcome` 'granted' | 'refused' | 'uploaded', required
  - `granted_at` string, date-time, nullable
  - `completed_at` string, date-time, nullable
  - `source` 'ledger' | 'bucket' | 'both', required
  - `flight_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
