{"ok":true,"site":"open-smk","host":"open.smk.dk","about":"SMK Open, the art collection of Statens Museum for Kunst (the National Gallery of Denmark). The CLI searches and filters artworks through the public SMK API and fetches artwork details, similar works, enrichment data, curated themes and IIIF image metadata.","commands":[{"command":"search-artworks","summary":"Search the SMK collection by keyword, with optional facet filters, a date or geo range, language and offset pagination.","params":[{"name":"query","type":"string","description":"Free-text search keywords. Use * to match all artworks.","default":"*"},{"name":"lang","type":"string","description":"Language of the returned metadata.","oneOf":["da","en"],"default":"da"},{"name":"filters","type":"string","description":"Comma-separated filters, each written [field:value]. Fields include artist, creator, object_names, colors, content_person, has_image and public_domain."},{"name":"range","type":"string","description":"Range filter on a date or geo field. Use * for an open end."},{"name":"offset","type":"number","description":"Index of the first result to return (0-based).","default":0},{"name":"rows","type":"number","description":"Number of results per page.","default":24}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/search-artworks?query=hammersh%C3%B8i&filters=%5Bartist%3AVilhelm+Hammersh%C3%B8i%5D&range=%5Bproduction_dates_end%3A%7B1900-01-01T00%3A00%3A00.000Z%3B*%7D%5D"},{"command":"list-search-facets","summary":"List facet values with counts (artists, creators, work types, colours and so on) for a keyword search. Use the values as filters in search-artworks.","params":[{"name":"query","type":"string","description":"Free-text search keywords. Use * to match all artworks.","default":"*"},{"name":"facets","type":"string","description":"Comma-separated facet fields to return, e.g. creator, artist, colors, object_names, content_person, role_attributed_to, role_workshop_of, role_after, role_school.","default":"creator,artist,object_names,colors,content_person"},{"name":"filters","type":"string","description":"Optional filters to narrow the facets, each written [field:value] and comma-separated."},{"name":"lang","type":"string","description":"Language of the facet values.","oneOf":["da","en"],"default":"da"}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/list-search-facets?query=hammersh%C3%B8i&filters=%5Bhas_image%3Atrue%5D"},{"command":"get-artworks","summary":"Get full metadata for one or more artworks by object number (comma-separated): title, creator, dates, dimensions, exhibitions, literature and image URLs.","params":[{"name":"object_number","type":"string","required":true,"description":"Artwork object number, or several separated by commas (case-insensitive)."},{"name":"lang","type":"string","description":"Language of the returned metadata.","oneOf":["da","en"],"default":"da"}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-artworks?object_number=KMS6658"},{"command":"get-similar-artworks","summary":"Get the object numbers of artworks that are visually similar to an artwork.","params":[{"name":"object_number","type":"string","required":true,"description":"Artwork object number."}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-similar-artworks?object_number=KMS6658"},{"command":"get-artwork-enrichment","summary":"Get enrichment records for an artwork, such as visual feature extraction (brightness, contrast, saturation, colour temperature) and similar-image data.","params":[{"name":"object_number","type":"string","required":true,"description":"Artwork object number."}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-artwork-enrichment"},{"command":"list-themes","summary":"List curated themes (e.g. '10 Highlights', 'Animals') with their Danish and English titles and the object numbers of their artworks.","params":[],"exampleUrl":"https://clify-dev.netlify.app/open-smk/list-themes"},{"command":"get-theme","summary":"Get one curated theme: titles, HTML description in Danish and English, and the object numbers of its artworks.","params":[{"name":"id","type":"string","required":true,"description":"Theme id, as returned by list-themes."}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-theme"},{"command":"get-iiif-manifest","summary":"Get the IIIF Presentation 3 manifest for an artwork: label, rights, attribution, metadata, and canvases with image size and image service URLs.","params":[{"name":"id","type":"string","required":true,"description":"Artwork object number."}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-iiif-manifest?id=KMS6658"},{"command":"get-iiif-image-info","summary":"Get IIIF Image API info.json for an artwork image: full width and height, available sizes, tiles and supported formats, for building zoom or crop URLs.","params":[{"name":"image_id","type":"string","required":true,"description":"IIIF image identifier: the last path segment of the service id in the manifest's thumbnail or canvas, e.g. 5x21tg258_KMS6658.tif.jp2."}],"exampleUrl":"https://clify-dev.netlify.app/open-smk/get-iiif-image-info"}]}