Skip to main content
The Assets API provides a flexible unified search approach that supports both simple query parameters and advanced filtering through request bodies.

Quick Reference

MethodUse Case
GET with query paramsSimple filtering by single values
POST with bodyComplex filtering with operators
CombinedMix both for flexibility

Query Parameters (GET)

When using the GET method, apply filters through URL query parameters:
GET /app/v1/organizations/:organizationId/projects/:projectId/assets?type=image/jpeg&tags=hero&sort=updatedAt:desc
ParameterTypeDescription
limitnumberItems per page (default: 10)
lastKeystringPagination cursor from previous response
typestringFilter by MIME type
tagsstringFilter by tag IDs (comma-separated)
statusstringFilter by status (active or deleted)
searchstringSearch term for name/description
sortstringSort field and direction (e.g., name:asc)
fromstringUpdated date range start (ISO format)
tostringUpdated date range end (ISO format)

Sort Fields

FieldDescriptionExample
updatedAtSort by last modification (default)sort=updatedAt:desc
When no sort is specified, resources are sorted by updatedAt:desc by default.