Retire a terminal run's artifact prefix.
curl --request POST \
--url http://localhost:3001/v1/training/runs/{run_id}/retire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "<string>"
}
'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/retire"
payload = { "request_id": "<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({request_id: '<string>'})
};
fetch('http://localhost:3001/v1/training/runs/{run_id}/retire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"retired": true
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}unified-training
Retire a terminal run's artifact prefix.
This is a terminal-only, idempotent cleanup of the run prefix; it never deletes the shared training Volume.
POST
/
v1
/
training
/
runs
/
{run_id}
/
retire
Retire a terminal run's artifact prefix.
curl --request POST \
--url http://localhost:3001/v1/training/runs/{run_id}/retire \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "<string>"
}
'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/retire"
payload = { "request_id": "<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({request_id: '<string>'})
};
fetch('http://localhost:3001/v1/training/runs/{run_id}/retire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"retired": true
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}Authorizations
Whitney-issued API key. No organization-selection header is accepted.
Path Parameters
Pattern:
^wtr_[0-9a-f]{32}$Body
application/json
Required string length:
1 - 200