v1

latestOpenAPI 3.0.02026-08-062441107.9 KB
ComputationSpecs

Get all computation specifications

Get all computation specifications. The parameter 'IncludePreviousVersions' may be used to return either the most recent versions of the computation specifications or all possible versions of each computation specification.

get/computation-specs

Query parameters

includePreviousVersionsboolean

Unless includePreviousVersions is true the response will return only the latest version of each specification.

Headers

slb-data-partition-idstring required

Data partition id.

Response

Retrieved computation specifications successfully.

idstring required

The ID of the specification.

namestring required

The name of the specification.

versioninteger required

The version of the specification definition.

latestboolean required

Whether this is the latest version of the given specification.

archivedboolean required

Whether this specification has been marked as archived.

descriptionstring required

The description of the specification.

createdBystring required

The ID of the user who created the specification.

createdAtstring date-time required

The date the specification was created.

Example response

[
  {
    "id": "ix",
    "latest": true,
    "name": "ix",
    "createdBy": "system",
    "version": 1,
    "inputDataTypeIds": [
      {
        "id": "decline-curves",
        "version": 1
      },
      {
        "id": "drilling-constraints",
        "version": 1
      },
      {
        "id": "facility-constraints",
        "version": 1
      }
    ],
    "outputDataTypeIds": [
      {
        "id": "production-forecast",
        "version": 1
      }
    ]
  },
  {
    "id": "peep",
    "latest": true,
    "name": "peep",
    "createdBy": "system",
    "version": 1,
    "inputDataTypeIds": [
      {
        "id": "production-forecast",
        "version": 1
      },
      {
        "id": "well-capex",
        "version": 1
      },
      {
        "id": "general-capex",
        "version": 1
      },
      {
        "id": "general-opex",
        "version": 1
      },
      {
        "id": "economic-framework",
        "version": 1
      }
    ],
    "outputDataTypeIds": [
      {
        "id": "peep-output",
        "version": 1
      }
    ]
  }
]