Get custom language model
Get a single custom language model
URL: GET https://api.scriptix.io/api/v3/custom_models/{model_id}/
Request headers
The following headers need to be present
Parameter | Value | Description |
---|---|---|
x-zoom-s2t-key | Scriptix Reseller API Token | API key of type Reseller needed for authorization |
Request path arguments
Argument | Description |
---|---|
model_id | ID of language model |
Responses
Status code | Description |
---|---|
200 | Custom model |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Server Error |
HTTP 200 OK
Content-type: application/json
Response: APIResultResponse<CustomModel>
JSON Response
{
"result": {
"id": 2,
"name": "Model with acoustic and language datasets",
"last_modified": "2021-01-25T10:31:46.960411+00:00",
"organization_id": 20123,
"language_data": [
{
"id": 1,
"name": "X-dataset.txt",
"type": 1,
"language_id": 2,
"media_url": "https://xyz.com/txt",
"url": "https://s3.ovh.xyz/X-dataset.txt"
}
],
"is_trainable": false,
"type": 1,
"base_language_id": 1,
"base_language_key": nl-nl,
"training_log": {
"language_id": 2,
"training_status": 3,
"log_name": "log_22534524.log"
}
},
"count": 1,
"total_results": 1
}