Runs
List run artifacts
GET
/
api
/
v1
/
runs
/
{id}
/
artifacts
List run artifacts
curl --request GET \
--url https://dev.simforge.ai/api/v1/runs/{id}/artifacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.simforge.ai/api/v1/runs/{id}/artifacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.simforge.ai/api/v1/runs/{id}/artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"kind": "<string>",
"name": "<string>",
"mediaType": "<string>",
"sizeBytes": 1,
"sha256": "<string>",
"state": "available",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"playback": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"rendition": "preview"
}
}
]
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}Authorizations
A sfc_at_… access token from simforge login, or an sfk_… API key. An operation's security lists the scopes the credential must hold.
Path Parameters
Query Parameters
preview: each video also carries playback, a short-lived URL of what a player streams (its lower-bitrate preview copy, else the clip itself). Without it the list is the artifacts alone.
Available options:
preview Response
Available run artifacts.
Show child attributes
Show child attributes
⌘I
List run artifacts
curl --request GET \
--url https://dev.simforge.ai/api/v1/runs/{id}/artifacts \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.simforge.ai/api/v1/runs/{id}/artifacts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.simforge.ai/api/v1/runs/{id}/artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"kind": "<string>",
"name": "<string>",
"mediaType": "<string>",
"sizeBytes": 1,
"sha256": "<string>",
"state": "available",
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"playback": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"rendition": "preview"
}
}
]
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}{
"error": {
"code": "bad_request",
"reason": "<string>",
"retryable": true,
"requestId": "<string>",
"hint": "<string>",
"param": "<string>",
"detail": "<unknown>",
"path": "<string>"
}
}