---
title: "Upload audio metadata"
method: POST
path: "/audios/metadata"
tags: ["Audio"]
---

# Upload audio metadata

`POST /audios/metadata`

## Request body

- AddAudioMetadataRequestWithStorageGUID
  - `started_at` string, date-time, required — Start timestamp of the audio recording
  - `ended_at` string, date-time, required — End timestamp of the audio recording
  - `channel` integer, required — Channel number of the audio recording
  - `total_channels` integer, required — Number of channels making up the complete audio that this recording is part of
  - `format` string, required — Media format of the audio recording
  - `filename` string, required — Filename of the audio recording
  - `courthouse` string, required — Courthouse the audio was recorded in
  - `courtroom` string, required — Courtroom the audio was recorded in
  - `media_file` string — The file for the audio
  - `file_size` integer, required — The size of the file in bytes
  - `checksum` string, required — Checksum to ensure integrity of file
  - `cases` string[], required — List of associated case numbers
  - `storage_guid` string, uuid, required

## Response `200`

Audio metadata accepted

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/hm-courts-and-tribunals-service/apis/modernised-darts.md) · [All operations](https://skmtc.net/hm-courts-and-tribunals-service/apis/modernised-darts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hm-courts-and-tribunals-service/modernised-darts/revisions/dba37a557db4/schema)
