> For the complete documentation index, see [llms.txt](https://docs.theseus.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseus.us/cyclops/developers/edge-api/recordings.md).

# Recordings

A recording holds the camera images and sensor data of a flight, together with its logs. Theseus support uses recordings to replay and analyze a flight. Use these endpoints to start and stop recording, and to download recordings.

If you only need the logs, [Flight logs](https://docs.theseus.us/cyclops/developers/edge-api/flight-logs.md) gives you a much smaller download.

| Method | Path                                             | Purpose                               |
| ------ | ------------------------------------------------ | ------------------------------------- |
| `GET`  | `/api/v2/recordings`                             | List recordings                       |
| `GET`  | `/api/v2/recordings/{id}/download`               | Download a recording                  |
| `GET`  | `/api/ecal-rec/health` (port `5000`)             | Read whether recording is on          |
| `GET`  | `/api/ecal-rec/auto-record-status` (port `5000`) | Read whether recording starts at boot |
| `POST` | `/api/ecal-rec/start` (port `5000`)              | Start recording                       |
| `POST` | `/api/ecal-rec/stop` (port `5000`)               | Stop recording                        |

## List recordings

`GET /api/v2/recordings`

Each power-on of the Cyclops computer has one recording folder. Its `uuid` is the same as the flight `id` in [`GET /api/v2/flights`](https://docs.theseus.us/cyclops/developers/edge-api/flight-logs.md#list-flights).

| Query parameter | Description                                            |
| --------------- | ------------------------------------------------------ |
| `limit`         | Maximum number of recordings to return. Default `50`.  |
| `offset`        | Number of recordings to skip, for paging. Default `0`. |

```bash
curl "http://192.168.218.100:5050/api/v2/recordings?limit=10"
```

```json
{
  "success": true,
  "data": {
    "count": 1,
    "recordings": [
      {
        "id": 17,
        "uuid": "42_3f1c9a2e-8b7d-4e21-9c55-0a6d2f4b7e10",
        "status": "COMPLETED",
        "size_bytes": 7516192768,
        "created_at": "2026-10-02T14:31:07"
      }
    ]
  }
}
```

| Field        | Description                                                                  |
| ------------ | ---------------------------------------------------------------------------- |
| `id`         | Recording number. Use it to download the recording.                          |
| `uuid`       | Recording folder name. Matches the flight `id` in the flight log list.       |
| `status`     | `RECORDING` while data is being written, `COMPLETED` when done, or `FAILED`. |
| `size_bytes` | Size of the recording, in bytes.                                             |

## Download a recording

`GET /api/v2/recordings/{id}/download`

Returns the whole recording as a `.tar` archive. Recordings can be several gigabytes. The archive is streamed, so the response has no `Content-Length` header.

```bash
curl -OJ http://192.168.218.100:5050/api/v2/recordings/17/download
```

With [lockdown mode](https://docs.theseus.us/cyclops/developers/edge-api/license-and-lockdown.md#lockdown-mode) on, the logs and sensor data in the archive are encrypted.

### Errors

| Status | Cause                                                          |
| ------ | -------------------------------------------------------------- |
| `404`  | No recording with that `id` exists, or its files were deleted. |

## Start and stop recording (port 5000)

{% hint style="info" %}
These endpoints belong to the legacy API on port `5000`. They may be replaced by v2 endpoints in a later release. Each response is a single JSON field, as shown below.
{% endhint %}

Recording writes into the recording folder of the current power-on. Recording uses storage space quickly, so stop it when you do not need it.

### Read whether recording is on

`GET /api/ecal-rec/health`

```bash
curl http://192.168.218.100:5000/api/ecal-rec/health
```

```json
{
  "ecal-rec": true
}
```

`true` while recording.

### Read whether recording starts at boot

`GET /api/ecal-rec/auto-record-status`

```json
{
  "enabled": true
}
```

When `enabled` is `true`, recording starts every time the Cyclops computer boots. You can change this setting in Vozilla. See [Recording control](https://docs.theseus.us/vozilla-gcs-software/vozilla-app/settings/recording-control.md).

### Start or stop recording

`POST /api/ecal-rec/start`\
`POST /api/ecal-rec/stop`

No request body.

```bash
curl -X POST http://192.168.218.100:5000/api/ecal-rec/start
```

```json
{
  "start_recording": true
}
```

The stop response is `{"stop_recording": true}`. `false` means the device could not start or stop recording. Check again with `GET /api/ecal-rec/health`.

Starting or stopping recording does not affect navigation.
