List durable operation summaries in sequence order.
curl --request GET \
--url http://localhost:3001/v1/training/runs/{run_id}/operations \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/operations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3001/v1/training/runs/{run_id}/operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"seq_id": 2,
"kind": "forward",
"status": "parked",
"result": {},
"error_code": "<string>",
"progress": {},
"progress_updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next_after_seq": 2
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}unified-training
List durable operation summaries in sequence order.
GET
/
v1
/
training
/
runs
/
{run_id}
/
operations
List durable operation summaries in sequence order.
curl --request GET \
--url http://localhost:3001/v1/training/runs/{run_id}/operations \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/runs/{run_id}/operations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3001/v1/training/runs/{run_id}/operations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"session_id": "<string>",
"run_id": "<string>",
"seq_id": 2,
"kind": "forward",
"status": "parked",
"result": {},
"error_code": "<string>",
"progress": {},
"progress_updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"next_after_seq": 2
}{
"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}$Query Parameters
Required range:
x >= 0Required range:
1 <= x <= 500