Skip to main content
POST
/
api
/
v1
/
offline
/
processing
Analyze Single File
curl --request POST \
  --url https://demo.descriptor.ai/api/v1/offline/processing \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "language_code": "en-US",
    "insights": {
      "summary": {
        "prompt_customization": "Focus on key points and action items"
      },
      "sentiment": {},
      "topics": {}
    }
  },
  "audio": {
    "uri": "https://example.com/audio.wav"
  }
}
'
{
  "result_id": "<string>"
}
You can start using our API with the command line following these steps:
  1. Send a POST request with audio file link and corresponding configuration in JSON.
  2. Send a GET request to fetch results using the result_id from the response.
  3. Optional: Configure a webhook to receive the results.
After configuring the body of the request, please refer to the code snippets rendered dynamically on the right side of the page.

Authorizations

Authorization
string
header
required

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

Body

application/json

Main configuration for audio processing

config
object
required

Configuration for audio processing pipeline

audio
object
required

Audio file information

call_data
object

Optional metadata about the call

Response

Successful Response

result_id
string

Identifier to retrieve the analysis results