Skip to main content
POST
Favorite asset

Authorizations

Authorization
string
header
required

API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY

Headers

Idempotency-Key
string

Optional idempotency key for safe request retries

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
request_id
string

Request ID to save as an asset before mutating

Minimum string length: 1
vector_id
string

Vector ID to save as an asset before mutating

Minimum string length: 1

Response

Asset favorited

is_favorited
boolean
required

Whether the asset is now favorited