{"source":"sodir","operation":"search_wellbores","description":"Search wellbores drilled on the Norwegian continental shelf. Signature: search_wellbores(name: string, optional, default None; field: string, optional, default None; operator: string, optional, default None; production_licence: string, optional, default None; purpose: string, optional, default None; status: string, optional, default None; content: string, optional, default None; kind: one of: exploration, development, other, all, optional, default 'all'; from_year: integer, calendar year, optional, default None; to_year: integer, calendar year, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"search_wellbores(name: string, optional, default None; field: string, optional, default None; operator: string, optional, default None; production_licence: string, optional, default None; purpose: string, optional, default None; status: string, optional, default None; content: string, optional, default None; kind: one of: exploration, development, other, all, optional, default 'all'; from_year: integer, calendar year, optional, default None; to_year: integer, calendar year, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"name","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial wellbore name, e.g. \"16/2-6\" (the Johan Sverdrup discovery well) or \"34/10\".","unit":null},{"name":"field","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial field name the wellbore belongs to, e.g. \"OSEBERG\".","unit":null},{"name":"operator","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Partial drilling operator name, e.g. \"Equinor\".","unit":null},{"name":"production_licence","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Licence number the wellbore was drilled under, e.g. \"265\".","unit":null},{"name":"purpose","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"\"WILDCAT\", \"APPRAISAL\", \"PRODUCTION\", \"INJECTION\", \"WILDCAT-CCS\", \"APPRAISAL-CCS\" or similar.","unit":null},{"name":"status","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"e.g. \"PRODUCING\", \"P&A\" (plugged and abandoned), \"INJECTING\", \"ONLINE/OPERATIONAL\", \"SUSPENDED\".","unit":null},{"name":"content","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"What the wellbore encountered or carries: \"OIL\", \"GAS\", \"OIL/GAS\", \"DRY\", \"WATER\", \"CO2\".","unit":null},{"name":"kind","type":"string","schema":{"enum":["exploration","development","other","all"],"type":"string"},"required":false,"default":"all","description":"Which register to search: \"exploration\", \"development\", \"other\" (shallow/soil drilling and the like) or \"all\" (default).","unit":null},{"name":"from_year","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive bounds on the entry (spud) year. Unit: calendar year.","unit":"calendar year"},{"name":"to_year","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Inclusive bounds on the entry (spud) year. Unit: calendar year.","unit":"calendar year"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"default":25,"description":"Maximum wellbores to return (default 25, maximum 100). Unit: items. Through this API: default 25, maximum 100.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Rows to skip before the first returned row (default 0). Unit: items.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_wellbores?name={name}&field={field}&operator={operator}&production_licence={production_licence}&purpose={purpose}&status={status}&content={content}&kind=all&from_year={from_year}&to_year={to_year}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_wellbores?field=OSEBERG","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":"integer"},"wellbores":{"type":"array","items":{"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"]},"petroleum_id":{"type":["string","null"]},"factpage_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}},"note":{"type":["string","null"]}},"additionalProperties":false,"required":["count","returned","wellbores"]},"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","ENDPOINT_NOT_FOUND"],"retryable":false},"405":{"codes":["METHOD_NOT_ALLOWED"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":false}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_wellbores/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/sodir/search_wellbores","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["count","returned","wellbores","wellbores[].wellbore","wellbores[].well","wellbores[].wellbore_type","wellbores[].purpose","wellbores[].status","wellbores[].content","wellbores[].operator","wellbores[].production_licence","wellbores[].field","wellbores[].discovery","wellbores[].is_discovery_wellbore","wellbores[].main_area","wellbores[].entry_date","wellbores[].completion_date","wellbores[].entry_year","wellbores[].completion_year","wellbores[].drilling_facility","wellbores[].production_facility","wellbores[].drilling_days","wellbores[].water_depth_m","wellbores[].total_depth_md_m","wellbores[].vertical_depth_tvd_m","wellbores[].bottom_hole_temperature_c","wellbores[].age_at_td","wellbores[].formation_at_td","wellbores[].subsea","wellbores[].plugged_date"],"output_fields_truncated":true,"canonical_field_aliases":{"latitude":["wellbores[].lat"],"longitude":["wellbores[].lon"]},"temporal_conventions":{"timezone":"calendar_dates","join_guidance":"date-time fields are RFC 3339 with an explicit offset (Z, +00:00 or the Europe/Oslo offset); compare absolute instants, not clock text. date fields are calendar dates without a time zone.","date_fields":["wellbores[].entry_date","wellbores[].completion_date","wellbores[].plugged_date","wellbores[].released_date"]},"response_example":{"source":"sodir","operation":"search_wellbores","parameters":{"field":"OSEBERG","limit":25,"offset":0},"data":{"count":1,"returned":1,"wellbores":[{"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,"petroleum_id":"example-id","factpage_url":"https://example.invalid/resource"}],"note":"example value"},"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.","publisher":"Sokkeldirektoratet (Norwegian Offshore Directorate)","license":"https://data.norge.no/nlod/en/2.0/","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/search_wellbores","source":"https://allemannsdata.com/wiki/api/v1/kilder/sodir","wiki":"https://allemannsdata.com/wiki/kilder/sodir/search_wellbores/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
