curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/simulators/runs/data/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"runId": 123
}
]
}
'{
"items": [
{
"runId": 123,
"inputs": [
{
"referenceId": "<string>",
"value": "<string>",
"valueType": "STRING",
"unit": {
"name": "<string>",
"externalId": "<string>"
},
"simulatorObjectReference": {},
"timeseriesExternalId": "<string>",
"overridden": true
}
],
"outputs": [
{
"referenceId": "<string>",
"value": "<string>",
"valueType": "STRING",
"unit": {
"name": "<string>",
"externalId": "<string>"
},
"simulatorObjectReference": {},
"timeseriesExternalId": "<string>"
}
]
}
]
}Retrieve data associated with a simulation run by ID.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/simulators/runs/data/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"runId": 123
}
]
}
'{
"items": [
{
"runId": 123,
"inputs": [
{
"referenceId": "<string>",
"value": "<string>",
"valueType": "STRING",
"unit": {
"name": "<string>",
"externalId": "<string>"
},
"simulatorObjectReference": {},
"timeseriesExternalId": "<string>",
"overridden": true
}
],
"outputs": [
{
"referenceId": "<string>",
"value": "<string>",
"valueType": "STRING",
"unit": {
"name": "<string>",
"externalId": "<string>"
},
"simulatorObjectReference": {},
"timeseriesExternalId": "<string>"
}
]
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
A list with a single item
Show child attributes
Successful Response
Show child attributes
Was this page helpful?