Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
activity_id.
metrics: send the final metrics array if you want the ended state to show final values.segmented_progress: send the final current_step and optionally the latest number_of_steps.progress: send the final percentage, or value with upper_limit.action is optional if you want the ended state to keep showing a button before dismissal.auto_dismiss_minutes is optional if you want to control how long the ended Live Activity stays visible.segmented_progress, the final payload can include an updated
number_of_steps as well as the final current_step. The step count does not
need to match the value used when the activity started.Required. Include Authorization: Bearer ask_123456789 in every request. Replace ask_123456789 with your API key.
End an existing Live Activity by activity_id.
End 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 ending an existing activity. You can send an updated number_of_steps here if the workflow changed after start.
Optional single action button shown in the Live Activity UI.