Search DAM Media

Searches images, videos, and files across all accessible folders. Returns matching media items plus attribute-based facet counts.

GET/api/v1/{team_slug}/{app_slug}/dam/media/search
API
Management
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.

Parameters10 parameters
NameInRequiredTypeDescription
app_slugpathYesstringApp slug
team_slugpathYesstringTeam slug
searchqueryYesstringFull-text query (1-256 chars)
typequeryNostring[]Filter by media type: image, video, file. Repeatable (e.g. type=image&type=file).
statusqueryNostringFilter by status: active, inactive, draft, pending (images/videos only)
sort-keyqueryNostringSort key: name, created_at, updated_at, type, rank (default created_at)
sort-orderqueryNostringSort order: asc, desc (default desc)
attributequeryNostring[]Attribute filter as 'template_key/attribute_key'. Repeatable.
pagequeryNointegerPage number (default 1)
per-pagequeryNointegerItems per page (default 100, max 100)
Request bodyNo documented body

Not documented in the OpenAPI contract.

Responses4 statuses
StatusDescriptionContent
200Search resultsapplication/json (object)
400Invalid requestapplication/json (object)
401Unauthorized accessapplication/json (object)
500Internal server errorapplication/json (object)

200 - object

Folder Media Response

PropertyTypeRequiredDetails
dataobjectNo-
successbooleanNo-
totalintegerNo-
total_pagesintegerNo-
Folder Media
PropertyTypeRequiredDetails
facetsobject[]No-
itemsobject[]No-
Media Facet
PropertyTypeRequiredDetails
template_keystringNo-
template_namestringNo-
valuesobject[]No-
Media Item
PropertyTypeRequiredDetails
blurhashstringNo-
created_atstringNo-
descriptionstringNo-
folderobjectNo-
idstringNo-
statusstringNo-
titlestringNo-
typeenum("image", "video", "file")No-
updated_atstringNo-
urlstringNo-

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

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

401 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

500 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

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

Search DAM Media

# Search DAM Media Searches images, videos, and files across all accessible folders. Returns matching media items plus attribute-based facet counts.
GET /api/v1/{team_slug}/{app_slug}/dam/media/search
Purpose

Searches images, videos, and files across all accessible folders.

Required inputs

app_slug path team_slug path search query

Primary response

200 ยท Search results

Operation key

management-api:GET:/api/v1/{team_slug}/{app_slug}/dam/media/search

## 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](/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. - Stable operation key: `management-api:GET:/api/v1/{team_slug}/{app_slug}/dam/media/search` 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):** ```json { "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):** ```json { "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):** ```json { "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):** ```json { "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. - Stable operation key: `management-api:GET:/api/v1/{team_slug}/{app_slug}/dam/media/search` - OpenAPI tag: DAM - OpenAPI summary: Search DAM Media