Get a computation given the computation ID. The computation contains the state of the computation (i.e. running, succeeded), input/output data containers which has been associated with the computation and any errors which have occurred during the running of the computation. The input and output data containers associated with the computation can be accessed through the containers API operations. Computations external to FDPlan can discover when computations are required to be performed by querying the FDPlan Events API for events with the type 'com.slb.cloud.fdplan.evaluation.computation_required_{computation_spec_id}_v{computation_spec_version}.v1', for instance 'com.slb.cloud.fdplan.evaluation.computation_required_ix_v1.v1'. The data for this event type contains information on the computation which is required.
- https://api.delfi.slb.com/fdplan/evaluation/v1https://api.delfi.slb.com/fdplan/evaluation/v1/computations/{computationId}
- Mock serverhttps://developer.slb.com/_mock/solutions/fdplan/apis/fdplan-evaluation/computations/{computationId}
curl -i -X GET \
'https://api.delfi.slb.com/fdplan/evaluation/v1/computations/{computationId}?includeDataLinkContent=false&includeSignedURL=false' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'appkey: YOUR_API_KEY_HERE' \
-H 'slb-partition-id: string'Retrieved computation successfully.
The computation ID.
The computation status.
A specification reference which allows the API users to specify the version of a specification when creating or updating a parent specification.
{ "id": "01DV2RPKYS5NYBAR6TNMJ8TNT8", "version": 1 }
A list of containers for the computation inputs.
[ { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/decline-curves/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] }, { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/drilling-constraints/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] } ]
A list of containers for the computation outputs.
[ { "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { … }, "fileNames": [ … ], "files": [ … ] } ]
A container is an instance of a data-type which is used to obtain the location of files which are part of the container, along with input and output errors.
{ "id": "01C7VGQWGZVPSBV9NJMEAJSBGM/containers/production-forecast/01CH0K76B5ANMW149TZZEGPZFV", "dataType": { "id": "production-forecast", "version": 1, "address": { … } }, "fileNames": [ "production-forecast.json" ], "files": [ { … } ], "labels": { "name": "p10" } }
The error associated with the computation.
[ { "addresses": [ … ], "message": "Something went wrong." } ]
{ "id": "0006803dc06c9bab3f82d4018287b8ccae575bd68eaa47f3c1797242e78daf03", "status": "CompletedWithErrors", "computationSpec": { "id": "ix", "version": 1 }, "inputContainers": [ { … }, { … } ], "outputContainers": [ { … } ], "computationErrors": [ { … } ], "computationConfiguration": { "schemaRef": { … } } }