---
title: "Audio - Music"
method: POST
path: "/v1/reports/music"
tags: ["Reports by Modality"]
---

# Audio - Music

`POST /v1/reports/music`

## Request

- Base URL: `https://api.aiornot.com`
- URL: `https://api.aiornot.com/v1/reports/music`
- Auth: HTTP bearer

Analyze an **audio file** to determine if it was generated by an AI *music* model.

This endpoint is only appropriate when you are looking for ai versus human generated music. Music means both singing (vocals) and instrumentals.

**Warning: This endpoint can take up two minutes for long duration audio files or if our backend is spinning up additional processing nodes. Please set a two minute timeout in your client.**

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The audio file to analyze. Must be a valid audio file.

## Response `200`

Successful Response

- MusicReportResponse
  - `id` string, uuid, required
  - `created_at` string, date-time
  - `report` ShareMusicReport, required
    - `verdict` 'ai' | 'human', required: Generate verdict.
    - `confidence` number, required: Confidence score for whether this audio file is ai-generated.
    - `duration` integer, required: Duration of the audio file in seconds.
    - `total_bytes` integer, required: Total size of the audio file in bytes.
    - `md5` string, required: MD5 hash of the uploaded audio file.

---

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