Skip to main content
POST
Search Asset

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Path Parameters

asset_id
string<uuid>
required

The ID of the asset to search within

Body

application/json

API request schema for searching within a specific asset.

project_id
string<uuid>
required

ID of the project the asset belongs to

spec
Spec · object
required

What to search for and how to filter. Needs at least one signal or filter.

Response

Successful Response

How an asset matched the search.

confidence
enum<string>
required

How strong the asset's best match is

Available options:
unknown,
low,
medium,
high
moments
(VisualSearchMoment · object | TranscriptSearchMoment · object | DocumentSearchMoment · object | FilenameSearchMoment · object)[]

Where in the asset the search matched

A stretch of video or an image whose picture matched.