Training jobs
Publish a training run
POST
/
v1
/
training_jobs
/
{job_id}
/
publish
Publish a training run
curl --request POST \
--url https://api.veri.studio/v1/training_jobs/{job_id}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"display_name": "<string>"
}
'import requests
url = "https://api.veri.studio/v1/training_jobs/{job_id}/publish"
payload = { "display_name": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({display_name: '<string>'})
};
fetch('https://api.veri.studio/v1/training_jobs/{job_id}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"visibility": "private",
"published_at": "2023-11-07T05:31:56Z",
"public_url": "<string>"
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Path Parameters
Training job ID
Body
application/json
Optional publisher display name
The name shown as the publisher on the public page. The web app sends the signed-in user's name; CLI/SDK callers may omit it (shown as "Veri user"). Stored as a snapshot at publish time.
Response
The run is public; the response carries its shareable URL
Publish a training run
curl --request POST \
--url https://api.veri.studio/v1/training_jobs/{job_id}/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"display_name": "<string>"
}
'import requests
url = "https://api.veri.studio/v1/training_jobs/{job_id}/publish"
payload = { "display_name": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({display_name: '<string>'})
};
fetch('https://api.veri.studio/v1/training_jobs/{job_id}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"visibility": "private",
"published_at": "2023-11-07T05:31:56Z",
"public_url": "<string>"
}
