Gallery Platform API
Reference

Set artwork insurance coverage

Creates or replaces an artwork's insurance coverage (upsert).

PATCH
/gallery/artworks/{id}/insurance

Creates or replaces an artwork's insurance coverage (upsert).

Authorization

bearerAuth artworks:write
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: artworks:write

Path Parameters

id*string

The artwork id.

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Set an artwork's insurance coverage (upsert).

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "artwork_id": "string",  "insured_value_cents": -9007199254740991,  "insured_value_is_agreed": true,  "currency": "string",  "insurer": "string",  "policy_number": "string",  "policy_expires_at": "string",  "coverage_notes": "string",  "updated_at": "string"}