Update the gallery
Updates the gallery's title, description, and/or visibility. Requires the gallery:write scope (key) or editor membership (user).
Updates the gallery's title, description, and/or visibility. Requires the gallery:write scope (key) or editor membership (user).
Authorization
bearerAuth gallery:writeA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: gallery:write
Header Parameters
Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 24h instead of re-running the write.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Fields to update on the gallery (all optional).
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/gallery" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "title": "string", "description": "string", "visibility": "public", "base_currency": "string", "created_at": "string", "updated_at": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "details": null}Get the key's gallery GET
Returns the gallery the API key is scoped to.
List artists GET
Lists the artists in the gallery's organization, newest first, with cursor pagination. Pass `q` to match by name — use this to resolve an artist name to an id for the artwork `artist_id` filter. The roster is org-scoped; RLS returns it only to members of the gallery's organization.