Search Media
Full-text search across images, videos, and files in an app, matching title, alt_text, description, and translations. The response also includes the attribute facets available on the matching media, with distinct-item counts and active flags reflecting attributes= filters. Per-template exclusion: when computing facet counts, filters on the same template_key are ignored while filters on other templates still apply (OR-within-template, AND-across-template).
Path Parameters
App ID
Query Parameters
Search query
Page number (default: 1)
Items per page (default: 20, max: 100)
Filter by type: image, video, file, all (default: all)
Sort field: name, created_at, updated_at, type, rank (default: created_at). 'rank' orders by full-text relevance against q.
Sort order: asc, desc (default: desc)
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