---
title: "A live recording's segments"
method: GET
path: "/v1/media/recordings/{device}/{id}"
tags: ["Media"]
---

# A live recording's segments

`GET /v1/media/recordings/{device}/{id}`

## Request

- Base URL: `https://api.uxduck.com`
- URL: `https://api.uxduck.com/v1/media/recordings/{device}/{id}`
- Auth: HTTP bearer

Its segments in order, each a whole MP4 of about 10 s with its capture time and a URL to download it for an hour.

## Path parameters

- `device` string, required
- `id` string, required

## Response `200`

The segments

- object
  - `segments` object[], required
    - `seq` number, required
    - `size` number, required
    - `sha256` string, required
    - `firstUs` number, nullable, required
    - `lastUs` number, nullable, required
    - `url` string, required

## Other responses

- `401`: Not signed in
- `404`: Not one of the account's live recordings
- `503`: Accounts are not set up here

---

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