{"source":"klimagassutslipp","operation":"find_areas","description":"List the counties and municipalities the emission accounts cover, with the\ninternal ids the other tools accept. Signature: find_areas(query: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"find_areas(query: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional case-insensitive substring on the area name, e.g. \"ullens\" or \"M\u00f8re\".","unit":null},{"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).","unit":"items"},{"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.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp/find_areas?query={query}&limit=25&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"counties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"municipality_count":{"type":"integer"}},"additionalProperties":false,"required":["id","name","municipality_count"]}},"municipalities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"county":{"type":["string","null"]}},"additionalProperties":false,"required":["id","name"]}}},"additionalProperties":false,"required":["counties","municipalities"]},"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/klimagassutslipp/find_areas/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp/find_areas","source":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["counties","counties[].id","counties[].name","counties[].municipality_count","municipalities","municipalities[].id","municipalities[].name","municipalities[].county"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["counties[].id","municipalities[].id"],"name":["counties[].name","municipalities[].name"]},"response_example":{"source":"klimagassutslipp","operation":"find_areas","parameters":{"query":"example value"},"data":{"counties":[{"id":1,"name":"Example","municipality_count":1}],"municipalities":[{"id":1,"name":"Example","county":"example value"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"klimagassutslipp","name":"Municipal greenhouse-gas accounts","description":"Annual territorial greenhouse-gas emissions per municipality and county by sector and source since 2009, plus land-use (LULUCF) emissions and removals.","cache_ttl_seconds":86400,"documentation":"https://www.miljodirektoratet.no/ansvarsomrader/klima/klimagasser-utslippstall-regnskap/klimagassregnskap-for-kommuner-og-fylker/"}]},"_provenance":{"data":{"source":"klimagassutslipp","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp"},"entities":{"source":"klimagassutslipp","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp/find_areas","source":"https://allemannsdata.com/wiki/api/v1/kilder/klimagassutslipp","wiki":"https://allemannsdata.com/wiki/kilder/klimagassutslipp/find_areas/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
