{"source":"kudos","operation":"list_documents","description":"List Kudos documents by type, year and actor, without a text query. Signature: list_documents(type: string, optional, default None; published_year_from: integer, optional, default None; published_year_to: integer, optional, default None; concerned_year_from: integer, optional, default None; concerned_year_to: integer, optional, default None; actor_name: string, optional, default None; actor_org_number: string, optional, default None; actor_role: string, optional, default None; sort: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"list_documents(type: string, optional, default None; published_year_from: integer, optional, default None; published_year_to: integer, optional, default None; concerned_year_from: integer, optional, default None; concerned_year_to: integer, optional, default None; actor_name: string, optional, default None; actor_org_number: string, optional, default None; actor_role: string, optional, default None; sort: string, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"type","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"One document type, e.g. \"NOU\", \"Evaluering\", \"\u00c5rsrapport\" (the full list is in search_documents).","unit":null},{"name":"published_year_from","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Earliest publication year.","unit":null},{"name":"published_year_to","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Latest publication year.","unit":null},{"name":"concerned_year_from","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Earliest year the document is about, e.g. the budget or reporting year of an annual report.","unit":null},{"name":"concerned_year_to","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Latest year the document is about.","unit":null},{"name":"actor_name","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Actor name or alias, case-insensitive and exact, e.g. \"UDIR\" or \"Utdanningsdirektoratet\". Matches any registered name.","unit":null},{"name":"actor_org_number","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Actor's 9-digit organisasjonsnummer, e.g. \"872417842\" (Kunnskapsdepartementet).","unit":null},{"name":"actor_role","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"With actor_name or actor_org_number, only documents where the actor has this role: owner, recipient, publisher or authoring_actor, or several separated by commas.","unit":null},{"name":"sort","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"newest or oldest by publication date.","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"default":25,"description":"Max documents to return, 1-100 (default 25). Unit: items. Through this API: default 25, maximum 100.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Documents to skip before the first one returned (default 0); with limit, pages through every match. Unit: items.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/list_documents?type={type}&published_year_from={published_year_from}&published_year_to={published_year_to}&concerned_year_from={concerned_year_from}&concerned_year_to={concerned_year_to}&actor_name={actor_name}&actor_org_number={actor_org_number}&actor_role={actor_role}&sort={sort}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/list_documents?type=NOU&published_year_from=2025","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"returned":{"type":"integer"},"documents":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string"},"type":{"type":"string"},"title":{"type":"string"},"abstract":{"type":"string"},"language":{"type":"string"},"publish_date":{"type":"string","format":"date"},"concerned_year_from":{"type":"integer"},"concerned_year_to":{"type":"integer"},"authors":{"type":"array","items":{"type":"string"}},"kudos_url":{"type":"string"},"source_url":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"file_id":{"type":"string"},"filename":{"type":"string"},"description":{"type":"string"},"mimetype":{"type":"string"},"pages":{"type":"integer"},"size_bytes":{"type":"integer"},"is_primary":{"type":"boolean"},"url":{"type":"string"},"source_url":{"type":"string"}},"additionalProperties":false,"required":["file_id","filename"]}},"owners":{"type":"array","items":{"type":"object","properties":{"actor_id":{"type":"string"},"organization_id":{"type":"string"},"name":{"type":"string"},"entity_name":{"type":"string"},"abbreviation":{"type":"string"},"actor_type":{"type":"string","enum":["Government","Ministry","Other"]},"aliases":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["actor_id","name"]}},"recipients":{"type":"array","items":{"type":"object","properties":{"actor_id":{"type":"string"},"organization_id":{"type":"string"},"name":{"type":"string"},"entity_name":{"type":"string"},"abbreviation":{"type":"string"},"actor_type":{"type":"string","enum":["Government","Ministry","Other"]},"aliases":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["actor_id","name"]}},"publishers":{"type":"array","items":{"type":"object","properties":{"actor_id":{"type":"string"},"organization_id":{"type":"string"},"name":{"type":"string"},"entity_name":{"type":"string"},"abbreviation":{"type":"string"},"actor_type":{"type":"string","enum":["Government","Ministry","Other"]},"aliases":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["actor_id","name"]}},"authoring_actors":{"type":"array","items":{"type":"object","properties":{"actor_id":{"type":"string"},"organization_id":{"type":"string"},"name":{"type":"string"},"entity_name":{"type":"string"},"abbreviation":{"type":"string"},"actor_type":{"type":"string","enum":["Government","Ministry","Other"]},"aliases":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["actor_id","name"]}}},"additionalProperties":false,"required":["document_id","type","title"]}}},"additionalProperties":false,"required":["count","returned","documents"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["organization"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"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/kudos/list_documents/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/list_documents","source":"https://allemannsdata.com/wiki/api/v1/kilder/kudos","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["count","returned","documents","documents[].document_id","documents[].type","documents[].title","documents[].abstract","documents[].language","documents[].publish_date","documents[].concerned_year_from","documents[].concerned_year_to","documents[].authors","documents[].kudos_url","documents[].source_url","documents[].files","documents[].files[].file_id","documents[].files[].filename","documents[].files[].description","documents[].files[].mimetype","documents[].files[].pages","documents[].files[].size_bytes","documents[].files[].is_primary","documents[].files[].url","documents[].files[].source_url","documents[].owners","documents[].owners[].actor_id","documents[].owners[].organization_id","documents[].owners[].name","documents[].owners[].entity_name","documents[].owners[].abbreviation"],"output_fields_truncated":true,"canonical_field_aliases":{"name":["documents[].title","documents[].owners[].name","documents[].recipients[].name","documents[].publishers[].name","documents[].authoring_actors[].name"]},"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":["documents[].publish_date"]},"response_example":{"source":"kudos","operation":"list_documents","parameters":{"type":"NOU","published_year_from":2025,"limit":25,"offset":0},"data":{"count":1,"returned":1,"documents":[{"document_id":"example-id","type":"example value","title":"Example","abstract":"example value","language":"example value","publish_date":"2026-01-15","concerned_year_from":1,"concerned_year_to":1,"authors":["example value"],"kudos_url":"https://example.invalid/resource","source_url":"https://example.invalid/resource","files":[{"file_id":"example-id","filename":"Example","description":"example value","mimetype":"example value","pages":1,"size_bytes":1,"is_primary":true,"url":"https://example.invalid/resource","source_url":"https://example.invalid/resource"}],"owners":[{"actor_id":"example-id","organization_id":"example-id","name":"Example","entity_name":"Example","abbreviation":"example value","actor_type":"Government","aliases":["example value"]}],"recipients":[{"actor_id":"example-id","organization_id":"example-id","name":"Example","entity_name":"Example","abbreviation":"example value","actor_type":"Government","aliases":["example value"]}],"publishers":[{"actor_id":"example-id","organization_id":"example-id","name":"Example","entity_name":"Example","abbreviation":"example value","actor_type":"Government","aliases":["example value"]}],"authoring_actors":[{"actor_id":"example-id","organization_id":"example-id","name":"Example","entity_name":"Example","abbreviation":"example value","actor_type":"Government","aliases":["example value"]}]}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"kudos","name":"Kudos public documents (DF\u00d8)","description":"Find reports, evaluations, NOUs, white papers, strategies, allocation letters and annual reports published by Norwegian ministries and government agencies. Search by topic, type, year or organization, then read a document's metadata, files and extracted full text from Kudos, the public-sector knowledge-document archive run by DF\u00d8.","publisher":"Direktoratet for forvaltning og \u00f8konomistyring (DF\u00d8)","license":null,"cache_ttl_seconds":3600,"documentation":"https://kudos.dfo.no/apne-data"}]},"_provenance":{"data":{"source":"kudos","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/kudos"},"entities":{"source":"kudos","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/kudos","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/list_documents","source":"https://allemannsdata.com/wiki/api/v1/kilder/kudos","wiki":"https://allemannsdata.com/wiki/kilder/kudos/list_documents/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
