Get custom language model data
Get a single custom language model data
URL: GET https://api.scriptix.io/api/v3/custom_models/{model_id}/data/{data_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 |
data_id | ID of language model data |
Responses
Status code | Description |
---|---|
200 | Custom model data |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Server Error |
HTTP 200 OK
Content-type: application/json
Response: APIResultResponse<CustomModelData>
JSON Response
{
"result": {
"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"
},
"count": 1,
"total_results": 1
}