Keystone Developers
Open Keystone
API reference

Public API

Media library

1 endpoint.

GET/api/v1/public/media_library

Get the business media library (good photos, best-first)

The business's best good photos with CDN URLs, dimensions, alt, hero-grade flag, and the website_photos slot each already fills (if any). Quality-filtered, best-first, capped at ``limit`` (default 60) — a creative palette for the whole site; consumers curate further per context (e.g. the gallery renders fewer).

Parameters

NameInTypeDescription
limitqueryintegerdefault 60
X-API-Keyheaderstring | null

Responses

200Successful Response
application/jsonSuccessResponse_PublicMediaLibrary_
FieldTypeDescription
request_idrequiredstring
successtruedefault true
datarequiredPublicMediaLibrary
PublicMediaLibrary fields
FieldTypeDescription
photosPublicMediaLibraryPhoto[]
PublicMediaLibraryPhoto[] fields

PublicMediaLibraryPhoto (not expanded)

totalintegerdefault 0
metadataResponseMetadata | null
ResponseMetadata fields
FieldTypeDescription
paginationPaginationMetadata | null
PaginationMetadata fields
FieldTypeDescription
limitrequiredinteger
next_cursorstring | null
prev_cursorstring | null
has_morerequiredboolean
has_prevbooleandefault false
total_countinteger | null
status_countsobject | null
object | null fields

Map of string to integer

lifecycle_countsLifecycleCounts | null
LifecycleCounts fields
FieldTypeDescription
leadintegerdefault 0
prospectintegerdefault 0
customerintegerdefault 0
former_customerintegerdefault 0
classification_countsClassificationCounts | null
ClassificationCounts fields
FieldTypeDescription
signalobject
object fields

Nested object (not expanded)

touchobject
object fields

Nested object (not expanded)

stageobject
object fields

Nested object (not expanded)

metaResponseMeta | null
ResponseMeta fields
FieldTypeDescription
totalinteger | null
total_countinteger | null
pageinteger | null
per_pageinteger | null
  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.