flows

Animate a single input's position and/or size.

Smoothly animates the specified input from its current position/size to the target values over the specified duration.

post/api/flows/{flow_id}/blocks/{block_id}/animate

Path parameters

flow_idstring required

Flow ID (UUID)

block_idstring required

Block instance ID (e.g., 'comp_1')

Request body

duration_msinteger

Animation duration in milliseconds

heightinteger nullable

Target height (optional)

inputinteger required

Input index (0-based)

widthinteger nullable

Target width (optional)

xposinteger nullable

Target X position (optional, keeps current if not specified)

yposinteger nullable

Target Y position (optional)

Response

Animation started successfully

Changes