Favorite asset
Favorite an asset. Provide a request ID or vector ID; unresolved references are materialized before favorite state is added.
Required permissions: assets:write. Key presets that include them: API, SERVERLESS, FULL. See key permissions.
POST
Favorite asset
Authorizations
Key on the API preset, or any key whose permissions include the ones this API lists. APIs with no required permission accept any key. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY
Headers
Optional idempotency key for safe request retries
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Response
Asset favorited
Whether the asset is now favorited