Skip to main content
GET
Error

Path Parameters

app_id
string
required

App ID

Query Parameters

q
string
required

Search query

page
integer

Page number (default: 1)

per_page
integer

Items per page (default: 20, max: 100)

type
string

Filter by type: image, video, file, all (default: all)

sort_by
string

Sort field: name, created_at, updated_at, type, rank (default: created_at). 'rank' orders by full-text relevance against q.

sort_order
string

Sort order: asc, desc (default: desc)

attributes
string[]

Filter by attribute(s). Repeat the query parameter once per filter, each in the form template_key/attribute_key. Filters sharing the same template_key combine with OR; distinct template_keys combine with AND. Example: ?attributes=color/red&attributes=color/blue&attributes=size/large

Response

Search results with facets

data
object[]
facets
object[]
pagination
object
success
boolean