Skip to Content
Human call imports

Get one human-call ingest

Permissionhuman-calls:readAdd-onHuman call importsAuthentication
GET
/ingest/human-calls/{id}

Returns the ingest's progress. status moves queued to transcribing to analyzing to done; error carries a stable, bounded reason and never a raw provider message.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

The ingest.

application/json
  1. response
id*string
Formatuuid
session_id*string

The call this ingest created. Readable through the calls API as soon as the ingest is accepted.

Formatuuid
status*HumanCallIngestStatus

queued accepted, waiting for a worker; transcribing fetching the audio and running the platform's batch speech-to-text with speaker diarization; analyzing transcript stored and analysis jobs dispatched; done analysis is under way on the resulting call; error gave up, see error. Transcription polls to completion and may take minutes on a long recording.

Value in"queued""transcribing""analyzing""done""error"
source_kind*string
Value in"url""upload""transcript"
external_ref*|
Lengthlength <= 200
human_agent*string
Lengthlength <= 200
key_terms*array<>

The key terms this request supplied, after normalization (trimmed, de-duplicated). Empty when none were sent. Platform default terms are not listed here.

Itemsitems <= 100
warnings*array<>

Non-fatal conditions on this ingest, each with a stable code. Empty when there are none. A warning never changes status: the call is still transcribed and analyzed. Present on the 202 for conditions known at accept time, and added while the worker transcribes for the rest, so read the ingest again to see the full list.

Itemsitems <= 20
error*|

A stable, bounded reason when status is error. Never a raw provider message, so it is safe to surface to an end user. The reasons are the recording URL was rejected, the recording could not be transcribed, the recording is larger than the limit, the recording produced no transcribable speech, the transcription provider timed out, the transcript could not be stored for analysis, speech-to-text is not configured for this deployment, and transcription did not succeed after repeated attempts.

Lengthlength <= 500
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
completed_at*|
Formatdate-time
Example Request
curl -X GET 'https://api.kejue.co/v1/ingest/human-calls/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",  "status": "queued",  "source_kind": "url",  "external_ref": "string",  "human_agent": "string",  "key_terms": [    "string"  ],  "warnings": [    {      "code": "key_terms_unsupported",      "message": "string"    }  ],  "error": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z"}