Workspace settings
Update workspace settings
Turning third_party_judges off stops new Jev evaluators and skips queued Jev work in this workspace; nothing is sent to TypeSafe while it is off.
PATCH
/
v1
/
workspace
/
settings
Update workspace settings
curl --request PATCH \
--url https://api.veri.studio/v1/workspace/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"third_party_judges": true
}
'import requests
url = "https://api.veri.studio/v1/workspace/settings"
payload = { "third_party_judges": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({third_party_judges: true})
};
fetch('https://api.veri.studio/v1/workspace/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"workspace_id": "<string>",
"third_party_judges": true,
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
API key with the vk_ prefix. Create one from the dashboard.
Body
application/json
Response
The stored settings
Always "workspace_settings".
Evaluators may send trace text to a third-party judge (TypeSafe's Jev). Off: jev evaluators can't be created and queued Jev work is skipped.
Null until the workspace changes a default.
Update workspace settings
curl --request PATCH \
--url https://api.veri.studio/v1/workspace/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"third_party_judges": true
}
'import requests
url = "https://api.veri.studio/v1/workspace/settings"
payload = { "third_party_judges": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({third_party_judges: true})
};
fetch('https://api.veri.studio/v1/workspace/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"workspace_id": "<string>",
"third_party_judges": true,
"updated_at": "2023-11-07T05:31:56Z"
}
