Training jobs
Get job events
GET
/
v1
/
training_jobs
/
{job_id}
/
events
Get job events
curl --request GET \
--url https://api.veri.studio/v1/training_jobs/{job_id}/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/training_jobs/{job_id}/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/training_jobs/{job_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"job_id": "<string>",
"level": "<string>",
"event_type": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": "<unknown>",
"request_id": "<string>"
}
],
"has_more": true
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Training job ID
Query Parameters
Page size, 1 to 500 (default 50).
Cursor: the id of an event on this job. Only events created after it are returned (events created at the same instant order by id). Pass the newest id you hold to poll for new events.
desc (newest first, the default) or asc (oldest first).
Get job events
curl --request GET \
--url https://api.veri.studio/v1/training_jobs/{job_id}/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/training_jobs/{job_id}/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/training_jobs/{job_id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"job_id": "<string>",
"level": "<string>",
"event_type": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"metadata": "<unknown>",
"request_id": "<string>"
}
],
"has_more": true
}
