GET
/
v1
/
assets
/
{asset_id}
/
features
curl --request GET \
  --url https://api.mixpeek.com/v1/assets/{asset_id}/features
{
  "asset": {
    "asset_id": "ast_123",
    "collection_id": "col_123",
    "status": "processing",
    "file_data": {
      "file_size_bytes": 1000000,
      "file_type": "image/jpeg"
    },
    "metadata": {
      "description": "A new description",
      "title": "New Title"
    },
    "error": "<any>",
    "modality": "image",
    "task_id": "task123",
    "file_hash": "hash123",
    "updated_at": "2023-01-01T00:00:00.000Z",
    "created_at": "2023-01-01T00:00:00.000Z",
    "score": 0.5,
    "url": "<string>",
    "preview_url": "<string>",
    "duplicate_of": "<string>"
  },
  "features": {
    "video": [
      {
        "url": "<string>",
        "preview_url": "<string>",
        "duplicate_of": "<string>"
      }
    ],
    "image": [
      {
        "url": "<string>",
        "preview_url": "<string>",
        "duplicate_of": "<string>"
      }
    ],
    "text": [
      {
        "url": "<string>",
        "preview_url": "<string>",
        "duplicate_of": "<string>"
      }
    ],
    "audio": [
      {
        "url": "<string>",
        "preview_url": "<string>",
        "duplicate_of": "<string>"
      }
    ]
  }
}

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.

Path Parameters

asset_id
string
required

Unique identifier of the asset

Query Parameters

return_url
boolean
default:
false

Whether to generate and return presigned S3 URLs for the asset and preview. Set to false to improve performance when URLs aren't needed

Response

200
application/json
Successful Response
asset
object
required
features
object
required