Equinor Wellbore API

The Wellbore API from Equinor — 4 operation(s) for wellbore.

GitHub OpenAPI

Operations 5

POST /ddms/v3/wellbores Create or update the Wellbores using osdu schema #
DELETE /ddms/v3/wellbores/{record_id} Delete the wellbore. The API performs a logical deletion of the given record. #
GET /ddms/v3/wellbores/{record_id} Get the Wellbore using osdu schema #
GET /ddms/v3/wellbores/{record_id}/versions Get all versions of the Wellbore #
GET /ddms/v3/wellbores/{record_id}/versions/{version} Get the given version of the Wellbore using OSDU wellbore schema #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/equinor:equinor-wellbore-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

equinor-wellbore-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: build local
  title: DDMS OSDU Wellbore API
  version: '0.31'
servers:
- url: /api/os-wellbore-ddms
tags:
- name: Wellbore
paths:
  /ddms/v3/wellbores:
    post:
      description: 'Required roles: ''users.datalake.editors'' or ''users.datalake.admins''.'
      operationId: post_wellbore_osdu
      parameters:
      - description: identifier of the data partition to query
        in: header
        name: data-partition-id
        required: false
        schema:
          description: identifier of the data partition to query
          minLength: 1
          title: data partition id
          type: string
      requestBody:
        content:
          application/json:
            example:
            - acl:
                owners:
                - data.default.owners@{{datapartitionid}}.{{domain}}
                viewers:
                - data.default.viewers@{{datapartitionid}}.{{domain}}
              data:
                ConditionID: '{{datapartitionid}}:reference-data--WellCondition:Active:'
                ExtensionProperties: {}
                FacilityDescription: '{{wellboreDescription}}'
                FacilityName: '{{wellboreName}}'
                FacilityNameAliases:
                - AliasName: 33-089-00300-00-01
                  AliasNameTypeID: '{{datapartitionid}}:reference-data--AliasNameType:UniqueIdentifier:'
                FacilityOperators:
                - FacilityOperatorID: OperatorID
                  Remark: Remark on facility operator
                FluidDirectionID: '{{datapartitionid}}:reference-data--WellFluidDirection:DualFlow:'
                FormationNameAtTotalDepth: Example FormationNameAtTotalDepth
                GeoContexts:
                - GeoPoliticalEntityID: '{{datapartitionid}}:master-data--GeoPoliticalEntity:USA:'
                  GeoTypeID: 'datapartition:reference-data--GeoPoliticalEntityType:Country:'
                HistoricalInterests:
                - EffectiveDateTime: '2020-02-13'
                  InterestTypeID: '{{datapartitionid}}:reference-data--WellInterestType:Yes:'
                  TerminationDateTime: '2020-02-13'
                InterestTypeID: '{{datapartitionid}}:reference-data--WellInterestType:Yes:'
                OutcomeID: '{{datapartitionid}}:reference-data--WellBusinessIntentionOutcome:Achieved:'
                PrimaryProductTypeID: '{{datapartitionid}}:reference-data--WellProductType:Gas:'
                SecondaryProductTypeID: '{{datapartitionid}}:reference-data--WellProductType:Gas:'
                ShowProductTypeID: '{{datapartitionid}}:reference-data--WellProductType:Gas:'
                SpatialLocation:
                  Wgs84Coordinates:
                    features:
                    - geometry:
                        coordinates:
                        - - -103.2380248
                          - 46.8925081
                          - 5301.0
                        - - -103.2380248
                          - 46.8925081
                          - 2801.0
                        - - -103.2378748
                          - 46.892608100000004
                          - 301.0
                        - - -103.23742477750001
                          - 46.89270811
                          - -2199.0
                        - - -103.23667470999663
                          - 46.892808120001
                          - -4699.0
                        - - -103.2356245974865
                          - 46.892908130002
                          - -7199.0
                        type: LineString
                      properties:
                        name: Newton 2-31-Lat-1
                      type: Feature
                    type: FeatureCollection
                StatusSummaryID: '{{datapartitionid}}:reference-data--WellStatusSummary:Planning:'
                TertiaryProductTypeID: '{{datapartitionid}}:reference-data--WellProductType:Gas:'
                TrajectoryTypeID: '{{datapartitionid}}:reference-data--WellboreTrajectoryType:Vertical:'
                VerticalMeasurements:
                - EffectiveDateTime: '2020-02-13T09:13:15.55Z'
                  RigID: '{{datapartitionid}}:master-data--Rig:SomeUniqueRigID:'
                  TerminationDateTime: '2020-02-13T09:13:15.55Z'
                  VerticalCRSID: '{{datapartitionid}}:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32021_EPSG::15851:'
                  VerticalMeasurement: 12345.6
                  VerticalMeasurementDescription: Example VerticalMeasurementDescription
                  VerticalMeasurementID: Example VerticalMeasurementID
                  VerticalMeasurementPathID: '{{datapartitionid}}:reference-data--VerticalMeasurementPath:MD:'
                  VerticalMeasurementSourceID: '{{datapartitionid}}:reference-data--VerticalMeasurementSource:DRL:'
                  VerticalMeasurementTypeID: '{{datapartitionid}}:reference-data--VerticalMeasurementType:PBD:'
                  VerticalMeasurementUnitOfMeasureID: '{{datapartitionid}}:reference-data--UnitOfMeasure:m:'
                  VerticalReferenceEntityID: '{{datapartitionid}}:master-data--Rig:SomeUniqueRigID:'
                  VerticalReferenceID: Example VerticalReferenceID
                  WellboreTVDTrajectoryID: '{{datapartitionid}}:work-product-component--WellboreTrajectory:WellboreTrajectory-911bb71f-06ab-4deb-8e68-b8c9229dc76b:'
                WasBusinessInterestFinancialNonOperated: true
                WasBusinessInterestFinancialOperated: true
                WasBusinessInterestObligatory: true
                WasBusinessInterestTechnical: true
                WellID: '{{datapartitionid}}:master-data--Well:{{wellId}}:'
                WellboreCosts:
                - ActivityTypeID: '{{datapartitionid}}:reference-data--WellActivityPhaseType:RMOVE:'
                  Cost: 12345.6
                WellboreReasonID: '{{datapartitionid}}:reference-data--WellboreReason:AccidentalSidetrack:'
              id: '{{datapartitionid}}:master-data--Wellbore:{{wellboreId}}:'
              kind: osdu:wks:master-data--Wellbore:1.3.0
              legal:
                legaltags:
                - '{{legaltags}}'
                otherRelevantDataCountries:
                - FR
                - US
              meta:
              - kind: Unit
                name: Measure depth default unit
                persistableReference: persistableReference
                propertyNames:
                - symbol
            schema:
              items:
                $ref: '#/components/schemas/Record'
              title: Wellbores
              type: array
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUpdateRecordsResponse'
          description: Successful Response
        '400':
          description: Missing mandatory parameter or unknown parameter
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          description: Internal server error
      security:
      - HTTPBearer: []
      summary: Create or update the Wellbores using osdu schema
      tags:
      - Wellbore
  /ddms/v3/wellbores/{record_id}:
    delete:
      description: 'Required roles: ''users.datalake.editors'' or ''users.datalake.admins''.'
      operationId: del_osdu_wellbore
      parameters:
      - in: path
        name: record_id
        required: true
        schema:
          pattern: ^[\w\-\.]+:master-data\-\-Wellbore:[\w\-\.\:\%]+$
          title: Record Id
          type: string
      - description: identifier of the data partition to query
        in: header
        name: data-partition-id
        required: false
        schema:
          description: identifier of the data partition to query
          minLength: 1
          title: data partition id
          type: string
      responses:
        '204':
          description: Record deleted successfully
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Wellbore not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          description: Internal server error
      security:
      - HTTPBearer: []
      summary: Delete the wellbore. The API performs a logical deletion of the given record.
      tags:
      - Wellbore
    get:
      description: 'Get the Wellbore object using its **id**.

        Required roles: ''users.datalake.viewers'' or ''users.datalake.editors'' or ''users.datalake.admins''.

        In addition, users must be a member of data groups to access the data.'
      operationId: get_wellbore_osdu
      parameters:
      - in: path
        name: record_id
        required: true
        schema:
          pattern: ^[\w\-\.]+:master-data\-\-Wellbore:[\w\-\.\:\%]+$
          title: Record Id
          type: string
      - description: identifier of the data partition to query
        in: header
        name: data-partition-id
        required: false
        schema:
          description: identifier of the data partition to query
          minLength: 1
          title: data partition id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Record'
          description: Successful Response
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Wellbore not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          description: Internal server error
      security:
      - HTTPBearer: []
      summary: Get the Wellbore using osdu schema
      tags:
      - Wellbore
  /ddms/v3/wellbores/{record_id}/versions:
    get:
      description: 'Required roles: ''users.datalake.viewers'' or ''users.datalake.editors'' or ''users.datalake.admins''.

        In addition, users must be a member of data groups to access the data.'
      operationId: get_osdu_wellbore_versions
      parameters:
      - in: path
        name: record_id
        required: true
        schema:
          pattern: ^[\w\-\.]+:master-data\-\-Wellbore:[\w\-\.\:\%]+$
          title: Record Id
          type: string
      - description: identifier of the data partition to query
        in: header
        name: data-partition-id
        required: false
        schema:
          description: identifier of the data partition to query
          minLength: 1
          title: data partition id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordVersions'
          description: Successful Response
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Wellbore not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          description: Internal server error
      security:
      - HTTPBearer: []
      summary: Get all versions of the Wellbore
      tags:
      - Wellbore
  /ddms/v3/wellbores/{record_id}/versions/{version}:
    get:
      description: '"Get the Wellbore object using its **id**.

        Required roles: ''users.datalake.viewers'' or ''users.datalake.editors'' or ''users.datalake.admins''.

        In addition, users must be a member of data groups to access the data.'
      operationId: get_osdu_wellbore_version
      parameters:
      - in: path
        name: record_id
        required: true
        schema:
          pattern: ^[\w\-\.]+:master-data\-\-Wellbore:[\w\-\.\:\%]+$
          title: Record Id
          type: string
      - in: path
        name: version
        required: true
        schema:
          format: int64
          title: Version
          type: integer
      - description: identifier of the data partition to query
        in: header
        name: data-partition-id
        required: false
        schema:
          description: identifier of the data partition to query
          minLength: 1
          title: data partition id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Record'
          description: Successful Response
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Wellbore not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          description: Internal server error
      security:
      - HTTPBearer: []
      summary: Get the given version of the Wellbore using OSDU wellbore schema
      tags:
      - Wellbore
components:
  schemas:
    Record:
      properties:
        acl:
          $ref: '#/components/schemas/StorageAcl'
        ancestry:
          anyOf:
          - $ref: '#/components/schemas/RecordAncestry'
          - type: 'null'
        createTime:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Createtime
        createUser:
          anyOf:
          - type: string
          - type: 'null'
          title: Createuser
        data:
          additionalProperties: true
          title: Data
          type: object
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        kind:
          title: Kind
          type: string
        legal:
          $ref: '#/components/schemas/Legal'
        meta:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Meta
        modifyTime:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Modifytime
        modifyUser:
          anyOf:
          - type: string
          - type: 'null'
          title: Modifyuser
        tags:
          anyOf:
          - additionalProperties:
              type: string
            type: object
          - type: 'null'
          title: Tags
        version:
          anyOf:
          - format: int64
            type: integer
          - type: 'null'
          title: Version
      required:
      - kind
      - acl
      - legal
      - data
      title: Record
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - format: int64
              type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
    HTTPValidationError:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Errors
          type: array
      title: HTTPValidationError
      type: object
    RecordVersions:
      properties:
        recordId:
          anyOf:
          - type: string
          - type: 'null'
          title: Recordid
        versions:
          anyOf:
          - items:
              format: int64
              type: integer
            type: array
          - type: 'null'
          title: Versions
      title: RecordVersions
      type: object
    StorageAcl:
      properties:
        owners:
          items:
            type: string
          title: Owners
          type: array
        viewers:
          items:
            type: string
          title: Viewers
          type: array
      required:
      - viewers
      - owners
      title: StorageAcl
      type: object
    Legal:
      properties:
        legaltags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Legaltags
        otherRelevantDataCountries:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Otherrelevantdatacountries
      title: Legal
      type: object
    RecordAncestry:
      properties:
        parents:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Parents
      title: RecordAncestry
      type: object
    CreateUpdateRecordsResponse:
      properties:
        recordCount:
          anyOf:
          - format: int64
            type: integer
          - type: 'null'
          title: Recordcount
        recordIdVersions:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Recordidversions
        recordIds:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Recordids
        skippedRecordIds:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Skippedrecordids
      title: CreateUpdateRecordsResponse
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http