v1
latestOpenAPI 3.0.02026-08-062441107.9 KBComputationSpecs
Get computation specification
Get computation specification.
get/computation-specs/{computationSpecId}
Path parameters
computationSpecIdstring required
The computation specification ID.
Query parameters
versioninteger
The id of the data-type to get. If not specified, the latest version will be returned.
Headers
slb-data-partition-idstring required
Data partition id.
Response
Retrieved computation specification successfully.
Example response
{
"id": "01DV2RPKYS5NYBAR6TNMJ8TNT8",
"name": "custom-computation-spec",
"version": 1,
"latest": true,
"archived": false,
"description": "Description",
"createdBy": "user@slb.com",
"createdAt": "2020-01-01T00:00:00.000Z",
"inputDataTypeIds": [
{
"id": "decline-curves",
"version": 1
},
{
"id": "drilling-constraints",
"version": 1
},
{
"id": "facility-constraints",
"version": 1
}
],
"outputDataTypeIds": [
{
"id": "production-forecast",
"version": 1
}
],
"annotations": [
{
"address": {
"type": "DataTypeInput",
"computationIndex": 0,
"dataTypeIndex": 0
},
"key": "name",
"value": "Decline Curves",
"createdBy": "user@slb.com"
},
{
"address": {
"type": "DataTypeInput",
"computationIndex": 0,
"dataTypeIndex": 1
},
"key": "name",
"value": "Drilling Constraints",
"createdBy": "user@slb.com"
},
{
"address": {
"type": "DataTypeInput",
"computationIndex": 0,
"dataTypeIndex": 2
},
"key": "name",
"value": "Facility Constraints",
"createdBy": "user@slb.com"
},
{
"address": {
"type": "DataTypeOutput",
"computationIndex": 0,
"dataTypeIndex": 0
},
"key": "name",
"value": "Production Forecast",
"createdBy": "user@slb.com"
}
]
}