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 /v1/organizations/:organizationId/projects/:projectId/assets?type=image/jpeg&tag=hero&sort=createdAt:desc
ParameterTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (default: 20)
typestringFilter by MIME type
tagstringFilter by tag ID (can be repeated)
statusstringFilter by status (active or deleted)
searchstringSearch term for name/description
sortstringSort field and direction (e.g., name:asc)
fromstringCreated date range start (ISO format)
tostringCreated date range end (ISO format)

Sort Fields

The following fields are optimized for sorting:
FieldDescriptionExample
nameSort by resource namesort=name:asc
createdAtSort by creation datesort=createdAt:desc
updatedAtSort by last modification (default)sort=updatedAt:desc
typeSort by asset typesort=type:asc
When no sort is specified, resources are sorted by updatedAt:desc by default.