Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
activity_id.
metrics: send the latest metrics array.segmented_progress: send the latest current_step and, if needed, an updated number_of_steps.progress: send the latest percentage, or value with upper_limit.action is optional if you want to set or replace the Live Activity button.type is optional on update if the existing Live Activity already has a type.segmented_progress, you can update both current_step and
number_of_steps. Use this when the workflow gains or loses steps after the
activity has already started.Required. Include Authorization: Bearer ask_123456789 in every request. Replace ask_123456789 with your API key.
Update an existing Live Activity by activity_id.
Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.
Optional single action button shown in the Live Activity UI.