---
title: "Media info, free for the whole file"
method: POST
path: "/api/try/media-info"
tags: ["Free API"]
---

# Media info, free for the whole file

`POST /api/try/media-info`

## Request

- Base URL: `https://audo.ai`
- URL: `https://audo.ai/api/try/media-info`
- Auth: one of:
  - none
  - HTTP bearer

Free for the whole file of the file, 20 times a day, without an account. With an API key (Authorization: Bearer <key>), the same request processes the whole file with credits (Free, 0 credits a minute; 1 credit is 1 US cent) when the balance covers it, and otherwise the free part. free=true always asks for the free part, and free=false always for the whole file. With exhausted quota, free=true returns 429; omitted free with insufficient balance returns 402. free=false with insufficient balance returns 402 with no fallback. Use an explicitly approved positive max_credits for paid automation. A request takes up to 100 MB of files either way (without a key, what its links fetch counts too), and links are fetched one at a time; upload a larger file in parts with POST /api/v1/files, then start the job with POST /api/v1/jobs. With an API key, an Idempotency-Key header makes a repeated request return the first one's job instead of starting another. Examples save unclassified response.body and response.headers: branch on HTTP status and Content-Type before naming media. See /docs/api#responses for the complete response client. Cut examples explicitly remove the named ranges; mode=keep retains them instead. The request waits up to about 30 seconds for the result. A job that takes longer, or a request with Prefer: respond-async, gets 202 with the job's link to check on. 

    curl -F file=@interview.wav https://audo.ai/api/try/media-info -D response.headers -o response.body

## Headers

- `Prefer` string
- `Idempotency-Key` string

## Request body

- union
  - object
    - `url` string, uri, required: A public HTTPS link that Audo fetches
    - `file_token` string: Or the fileToken of an upload from POST /api/try/uploads
    - `detail` 'concise' | 'full': concise lists up to 50 silent stretches; full lists them all. Default concise.
  - object
    - `url` string, uri: A public HTTPS link that Audo fetches
    - `file_token` string, required: Or the fileToken of an upload from POST /api/try/uploads
    - `detail` 'concise' | 'full': concise lists up to 50 silent stretches; full lists them all. Default concise.

## Response `200`

The media info report

- object

## Other responses

- `202`: The job is still running. Check on it at the Location header's link
- `429`: Today's free uses are used up (or 3 runs already wait for payment from this address: rate_limited). The file is still taken and held for payment: details has finishUrl (where the whole file can run), finishPriceCredits, jobId, and statusUrl, whose finishedBy names the whole-file job once paid
- `default`: An error, with what went wrong and what to do next

---

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