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
Body
application/json
Optional publisher display name
Response
The run is public; the response carries its shareable URL
The shareable public page, e.g. https://veri.studio/runs/.
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>"
}
