Skip to main content

Retrieving Results

Use correct API token

🔑 It is important that the correct API token is used for retrieving results. Only the token that was used for creating and uploading the session can be used for retrieval.


URL: GET https://api.scriptix.io/api/v3/speech-to-text/session/${sessionId}/result


Request headers

The following headers need to be present:

ParameterValueDescription
x-zoom-s2t-keyScriptix Batch API TokenAPI key of type batch needed for authorization

Response codes

Status codeDescriptionPayload
200New session initialized
400Bad parameter
401Unauthorized
415Content Invalid
422Body Invalid
500Server Error

Responses

Content-Type: application/json

{
"count": 1,
"total_results": 1,
"result": {
"duration": 592,
"error": null,
"filename": "media.mp3",
"media_type": "audio",
"media_url": "https://example.com/media.mp3",
"session_id": "49b5b257000004000006ccdfc8",
"status": "done",
"results": [
{
"result": [
[
"word",
0.0,
1.2,
0.95
]
],
"speaker": "unk",
"text": "word",
"sconf": 0.85,
"channel": 0
}
]
}
}