Summarize inventory
Server-computed aggregates over the gallery's artworks for a filter set: the matching total, counts by work status, value totals summed per currency, and the unpriced count. Accepts the same filters as the list endpoint (status, artist_id, price/year bands, unpriced, published). Use this — not paging the list — to answer 'how many' / 'how much' questions correctly at any scale.
Server-computed aggregates over the gallery's artworks for a filter set: the matching total, counts by work status, value totals summed per currency, and the unpriced count. Accepts the same filters as the list endpoint (status, artist_id, price/year bands, unpriced, published). Use this — not paging the list — to answer 'how many' / 'how much' questions correctly at any scale.
Authorization
bearerAuth artworks:readA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: artworks:read
Query Parameters
1 <= items <= 50length <= 2001 <= items1 <= items1 <= items1 <= items1 <= itemslength <= 2000 <= value <= 90071992547409910 <= value <= 9007199254740991-9007199254740991 <= value <= 9007199254740991-9007199254740991 <= value <= 90071992547409910 <= value0 <= value0 <= value0 <= value1 <= items <= 10Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "total": -9007199254740991, "by_status": { "property1": -9007199254740991, "property2": -9007199254740991 }, "by_availability": { "property1": -9007199254740991, "property2": -9007199254740991 }, "by_ownership": { "property1": -9007199254740991, "property2": -9007199254740991 }, "by_market": { "property1": -9007199254740991, "property2": -9007199254740991 }, "value": [ { "currency": "string", "count_priced": -9007199254740991, "sum_cents": -9007199254740991 } ], "unpriced": -9007199254740991, "base_currency": "string", "converted_total_cents": -9007199254740991}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}Find visually similar artworks GET
Returns artworks whose cover image is visually most similar to this one, most similar first, excluding the artwork itself. Empty until the work has been indexed by the visual-embedding worker.
Add a tag to a artwork POST
Adds a single tag to this artwork (idempotent — never clobbers its other tags). Returns the resulting tag set.