{"source":"kudos","operation":"get_document","description":"One Kudos document with its files and actors. Signature: get_document(document_id: string, required).","signature":"get_document(document_id: string, required)","parameters":[{"name":"document_id","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"The document's UUID, as returned by search_documents or list_documents.","unit":null}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/get_document?document_id={document_id}","not_paged":"Returns a single record.","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/get_document?document_id=a34f0c17-66c2-44b6-a3ce-4550195d34a6","schema_scope":"#/data in the successful operation envelope","response_schema":{"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"]},"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/get_document/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/kudos/get_document","source":"https://allemannsdata.com/wiki/api/v1/kilder/kudos","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["document_id","type","title","abstract","language","publish_date","concerned_year_from","concerned_year_to","authors","kudos_url","source_url","files","files[].file_id","files[].filename","files[].description","files[].mimetype","files[].pages","files[].size_bytes","files[].is_primary","files[].url","files[].source_url","owners","owners[].actor_id","owners[].organization_id","owners[].name","owners[].entity_name","owners[].abbreviation","owners[].actor_type","owners[].aliases","recipients"],"output_fields_truncated":true,"canonical_field_aliases":{"name":["title","owners[].name","recipients[].name","publishers[].name","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":["publish_date"]},"response_example":{"source":"kudos","operation":"get_document","parameters":{"document_id":"a34f0c17-66c2-44b6-a3ce-4550195d34a6"},"data":{"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/get_document","source":"https://allemannsdata.com/wiki/api/v1/kilder/kudos","wiki":"https://allemannsdata.com/wiki/kilder/kudos/get_document/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
