Skip to main content
GET
/
app
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
assets
Search Assets
curl --request GET \
  --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/assets

Documentation Index

Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID

Query Parameters

lastKey
string
Pagination cursor from previous response
limit
number
Items per page (default: 10)
type
string
Filter by MIME type (e.g., image/jpeg, video/mp4)
tags
string
Filter by tag IDs (comma-separated)
status
string
Filter by status: active or deleted
Search term for name/description
sort
string
Sort field and direction (e.g., name:asc, createdAt:desc)
from
string
Updated date range start (ISO 8601 format)
to
string
Updated date range end (ISO 8601 format)

Response

Returns a paginated list of Asset objects.
{
  "data": [
    {
      "id": "asset123",
      "name": "hero-image.jpg",
      "type": "image/jpeg",
      "size": 245760,
      "url": "https://cdn.metabind.ai/assets/asset123/hero-image.jpg",
      "status": "active",
      "tags": ["tag1", "tag2"],
      "metadata": {
        "width": 1920,
        "height": 1080
      },
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-21T15:30:00Z"
    }
  ],
  "pagination": {
    "lastKey": "eyJwayI6Ik9SR..."
  }
}

Code Examples

curl -X GET "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/assets?type=image/jpeg&sort=createdAt:desc&limit=10" \
  -H "Authorization: Bearer YOUR_JWT"