Transcripts
Create a transcript
Start transcribing audio with A5S Async v1. The job runs asynchronously: poll Get a transcript or pass webhook_url.
post/v1/transcripts
Request
- Base URLhttps://api.aircaps.com
- URLhttps://api.aircaps.com/v1/transcripts
- AuthHTTP bearer
Query parameters
waitnumber
Seconds to wait for the transcript to finish before answering (0 to 120). Answers as soon as it finishes, or with its current state when the time is up.
Headers
Idempotency-Keystring
Up to 255 characters. Makes retries safe: the same key and body return the original job.
Request body
Example request
{
"audio_url": "https://example.com/meeting.mp3",
"language_code": "en",
"webhook_auth_header_name": "Authorization",
"metadata": {
"meeting_id": 42
},
"speaker_identification": {
"speaker_ids": [
"spk_01k73a9x8w7v6u5t4s3r2q1p0n",
"spk_01k73a7m6n5b4v3c2x1z0l9k8j"
],
"threshold": 0.6
},
"keyterms": [
"AirCaps",
"Dr. Patel",
"GPT-4"
]
}Response
Created. A retried request with the same Idempotency-Key returns the original transcript with 200.
Example response
{
"id": "tr_01k6z3m4q8w7e5r2t1y0u9i8o7",
"object": "transcript",
"audio_duration": 3600.512,
"speakers": [
{
"id": "speaker_0",
"speaking_time": 1402.11,
"speaker_id": "spk_01k73a9x8w7v6u5t4s3r2q1p0n",
"name": "Ana García",
"score": 0.781,
"matches": [
{
"speaker_id": "spk_01k73a9x8w7v6u5t4s3r2q1p0n",
"name": "Ana García",
"score": 0.781
}
],
"compared_duration": 60
}
],
"utterances": [
{
"speaker": "speaker_0",
"speaker_name": "Ana García",
"start": 0.48,
"end": 6.12,
"text": "hey good afternoon everybody",
"words": [
{
"text": "hey",
"start": 0.48,
"end": 0.71,
"speaker": "speaker_0"
}
]
}
],
"words": [
{
"text": "hey",
"start": 0.48,
"end": 0.71,
"speaker": "speaker_0"
}
],
"speaker_identification": {
"threshold": 0.6,
"speakers_compared": 12,
"speakers_identified": 2
}
}Changes
No recorded changes to this operation across all 1 revision of this API.