Search DAM Media
Searches images, videos, and files across all accessible folders. Returns matching media items plus attribute-based facet counts.
/api/v1/{team_slug}/{app_slug}/dam/media/search- API
- Management
- OpenAPI
- management-api
- Updated
- Apr 26, 2026
management-api:GET:/api/v1/{team_slug}/{app_slug}/dam/media/search
Searches images, videos, and files across all accessible folders. Returns matching media items plus attribute-based facet counts.
API ownership
- API family: Management API
- Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data.
- Do not use from: Browser-only storefront code or public clients.
- Guide route: /apis/management/latest
The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation.
Operation
- Method:
GET - Path:
/api/v1/\{team_slug\}/\{app_slug\}/dam/media/search - Summary: Search DAM Media
- Description: Searches images, videos, and files across all accessible folders. Returns matching media items plus attribute-based facet counts.
- OpenAPI contract: management-api
- Operation ID: Not documented in the OpenAPI contract.
Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| app_slug | path | Yes | string | App slug |
| team_slug | path | Yes | string | Team slug |
| search | query | Yes | string | Full-text query (1-256 chars) |
| type | query | No | string[] | Filter by media type: image, video, file. Repeatable (e.g. type=image&type=file). |
| status | query | No | string | Filter by status: active, inactive, draft, pending (images/videos only) |
| sort-key | query | No | string | Sort key: name, created_at, updated_at, type, rank (default created_at) |
| sort-order | query | No | string | Sort order: asc, desc (default desc) |
| attribute | query | No | string[] | Attribute filter as 'template_key/attribute_key'. Repeatable. |
| page | query | No | integer | Page number (default 1) |
| per-page | query | No | integer | Items per page (default 100, max 100) |
Request body
Not documented in the OpenAPI contract.
Responses
| Status | Description | Content |
|---|---|---|
| 200 | Search results | application/json (object) |
| 400 | Invalid request | application/json (object) |
| 401 | Unauthorized access | application/json (object) |
| 500 | Internal server error | application/json (object) |
200 - object
Folder Media Response
| Property | Type | Required | Details |
|---|---|---|---|
data | object | No | - |
success | boolean | No | - |
total | integer | No | - |
total_pages | integer | No | - |
Folder Media
| Property | Type | Required | Details |
|---|---|---|---|
facets | object[] | No | - |
items | object[] | No | - |
Media Facet
| Property | Type | Required | Details |
|---|---|---|---|
template_key | string | No | - |
template_name | string | No | - |
values | object[] | No | - |
Media Item
| Property | Type | Required | Details |
|---|---|---|---|
blurhash | string | No | - |
created_at | string | No | - |
description | string | No | - |
folder | object | No | - |
id | string | No | - |
status | string | No | - |
title | string | No | - |
type | enum("image", "video", "file") | No | - |
updated_at | string | No | - |
url | string | No | - |
Generated example (synthetic):
{
"data": {
"facets": [
{
"template_key": "string",
"template_name": "string",
"values": []
}
],
"items": [
{
"blurhash": "string",
"created_at": "string",
"description": "string",
"folder": {
"id": null,
"name": null,
"slug": null
},
"id": "string",
"status": "string",
"title": "string",
"type": "image",
"updated_at": "string",
"url": "string"
}
]
},
"success": false,
"total": 0,
"total_pages": 0
}400 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | No | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}401 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | No | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}500 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | No | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}Contract identity
Use these fields to confirm you are implementing the intended endpoint contract.
- API family: Management API
- Method:
GET - Path:
/api/v1/\{team_slug\}/\{app_slug\}/dam/media/search - Operation ID: Not documented in the OpenAPI contract.
- OpenAPI tag: DAM
- OpenAPI summary: Search DAM Media