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

# Upload audio metadata

`POST /audios/metadata`

## Request

- Base URL: `http://localhost:4550`
- URL: `http://localhost:4550/audios/metadata`
- Auth: none declared

## 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

## Changes

- **2026-07-20** `f273786fb018`: 8 info
  - added the optional property `detail` to the response with the `400` status
  - added the optional property `detail` to the response with the `500` status
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `500` status
  - …4 more
- **2024-11-11** `a3d0ddd7ed75`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/changes/audios/metadata/post.md)

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/revisions/f273786fb018?raw)
