{"source":"sodir","operation":"get_wellbore","description":"Get one wellbore by name, from whichever register holds it.","parameters":[{"name":"name","schema":{"type":"string"},"required":true,"default":null,"description":"Wellbore name, e.g. \"16/2-6\" or \"30/6-C-16 B\". Names are unique across the exploration, development and other registers."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/get_wellbore?name={name}&limit=25&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"wellbore":{"type":["string","null"]},"well":{"type":["string","null"]},"wellbore_type":{"type":["string","null"]},"purpose":{"type":["string","null"]},"status":{"type":["string","null"]},"content":{"type":["string","null"]},"operator":{"type":["string","null"]},"production_licence":{"type":["string","null"]},"field":{"type":["string","null"]},"discovery":{"type":["string","null"]},"is_discovery_wellbore":{"type":["boolean","null"]},"main_area":{"type":["string","null"]},"entry_date":{"type":["string","null"],"format":"date"},"completion_date":{"type":["string","null"],"format":"date"},"entry_year":{"type":["integer","null"]},"completion_year":{"type":["integer","null"]},"drilling_facility":{"type":["string","null"]},"production_facility":{"type":["string","null"]},"drilling_days":{"type":["integer","null"]},"water_depth_m":{"type":["number","null"]},"total_depth_md_m":{"type":["number","null"]},"vertical_depth_tvd_m":{"type":["number","null"]},"bottom_hole_temperature_c":{"type":["number","null"]},"age_at_td":{"type":["string","null"]},"formation_at_td":{"type":["string","null"]},"subsea":{"type":["boolean","null"]},"plugged_date":{"type":["string","null"],"format":"date"},"released_date":{"type":["string","null"],"format":"date"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"npdid":{"type":["string","null"]},"factpage_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/get_wellbore/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/get_wellbore","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["wellbore","well","wellbore_type","purpose","status","content","operator","production_licence","field","discovery","is_discovery_wellbore","main_area","entry_date","completion_date","entry_year","completion_year","drilling_facility","production_facility","drilling_days","water_depth_m","total_depth_md_m","vertical_depth_tvd_m","bottom_hole_temperature_c","age_at_td","formation_at_td","subsea","plugged_date","released_date","lat","lon"],"output_fields_truncated":true,"canonical_field_aliases":{"latitude":["lat"],"longitude":["lon"]},"response_example":{"source":"sodir","operation":"get_wellbore","parameters":{"name":"Example"},"data":{"wellbore":"example value","well":"example value","wellbore_type":"example value","purpose":"example value","status":"example value","content":"example value","operator":"example value","production_licence":"example value","field":"example value","discovery":"example value","is_discovery_wellbore":true,"main_area":"example value","entry_date":"2026-01-15","completion_date":"2026-01-15","entry_year":1,"completion_year":1,"drilling_facility":"example value","production_facility":"example value","drilling_days":1,"water_depth_m":1.0,"total_depth_md_m":1.0,"vertical_depth_tvd_m":1.0,"bottom_hole_temperature_c":1.0,"age_at_td":"example value","formation_at_td":"example value","subsea":true,"plugged_date":"2026-01-15","released_date":"2026-01-15","lat":59.91,"lon":10.75,"npdid":"example value","factpage_url":"https://example.invalid/resource"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"sodir","name":"Sokkeldirektoratet factpages","description":"Fields, production, reserves, wellbores, discoveries, production licences, companies and offshore facilities on the Norwegian continental shelf.","cache_ttl_seconds":3600,"documentation":"https://www.sodir.no/fakta/om-oss/apne-data/faktasider-og-faktakart-teknisk-informasjon/"}]},"_provenance":{"data":{"source":"sodir","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/sodir"},"entities":{"source":"sodir","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/get_wellbore","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","wiki":"https://allemannsdata.com/wiki/kilder/sodir/get_wellbore/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
