Asset Searching
Searching Overview
Introduction to querying assets with filters and sorting
The Assets API provides a flexible unified search approach that supports both simple query parameters and advanced filtering through request bodies.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Introduction to querying assets with filters and sorting
| Method | Use Case |
|---|---|
| GET with query params | Simple filtering by single values |
| POST with body | Complex filtering with operators |
| Combined | Mix both for flexibility |
GET /app/v1/organizations/:organizationId/projects/:projectId/assets?type=image/jpeg&tags=hero
| Parameter | Type | Description |
|---|---|---|
limit | number | Items per page (default: 20) |
lastKey | string | Pagination cursor from previous response |
type | string | Filter by MIME type |
tags | string | Filter by tag IDs (comma-separated) |
status | string | Filter by status (active or deleted) |
search | string | Search term for the asset name |
| Field | Description | Example |
|---|---|---|
updatedAt | Sort by last modification | sort=updatedAt:desc (/assets/search only) |