cURL
curl --request GET \
--url http://localhost:3001/v1/training/artifacts/{artifact_id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/artifacts/{artifact_id}"
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/artifacts/{artifact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "<string>",
"run_id": "<string>",
"checkpoint_id": "<string>",
"kind": "<string>",
"checksum": "<string>",
"size_bytes": 123,
"export_mode": "<string>",
"status": "available",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}unified-training
Get v1trainingartifacts
GET
/
v1
/
training
/
artifacts
/
{artifact_id}
cURL
curl --request GET \
--url http://localhost:3001/v1/training/artifacts/{artifact_id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/v1/training/artifacts/{artifact_id}"
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/artifacts/{artifact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"session_id": "<string>",
"run_id": "<string>",
"checkpoint_id": "<string>",
"kind": "<string>",
"checksum": "<string>",
"size_bytes": 123,
"export_mode": "<string>",
"status": "available",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"request_id": "<string>",
"funding_source": "platform"
}Authorizations
Whitney-issued API key. No organization-selection header is accepted.
Path Parameters
Response
Artifact metadata.
Pattern:
^wts_[0-9a-f]{32}$Pattern:
^wtr_[0-9a-f]{32}$Pattern:
^wtc_[0-9a-f]{32}$Available options:
available, retired 