Skip to main content
POST
/
assets
/
favorite
Favorite asset
curl --request POST \
  --url https://api.fal.ai/v1/assets/favorite \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "request_id": "019e6d0a-e5be-7b82-b329-35ae64296902"
}
'
{
  "is_favorited": true
}

Documentation Index

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

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

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