POST
/
v1
/
media
/
input
curl --request POST \
  --url https://api.pyannote.ai/v1/media/input \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>"
}'
{
  "url": "<string>"
}

For cases when your file is not public accessible, you can upload your file to the pyannoteAI servers using this endpoint.

The output field contains the job results and is only available when the job status is succeeded. Job results are automatically deleted after 24 hours of job completion.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

The response is of type object.