Assets
Update asset entity
Changed onUpdate a saved entity without recreating it. Omitted fields stay unchanged; reference_images replaces the defining reference set. Entity types cannot be changed. Character handles cannot be changed and character descriptions cannot be cleared. Other entity handles must remain unique within the account.
Required permissions: assets:write. Key presets that include them: API, SERVERLESS, FULL. See key permissions.
patch/assets/entities/{entity_id}
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/assets/entities/{entity_id}
- AuthAPI key in header Authorization
Path parameters
entity_idstring required
Smart entity ID
Headers
Idempotency-Keystring
Optional idempotency key for safe request retries
Example:550e8400-e29b-41d4-a716-446655440000
Request body
Response
Entity updated
Example response
{
"entity": {
"type": "character"
}
}Changes
- info
endpoint added
- info