Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
activity_id.
You will use that same ID for later update and end calls.
metrics: send title, type, and a non-empty metrics array.segmented_progress: send title, type, number_of_steps, and current_step.progress: send title, type, and either percentage or value with upper_limit.action is optional if you want the Live Activity to show one button that opens a URL or triggers a webhook.target.channels is optional if you want to scope delivery to specific channel slugs.segmented_progress, number_of_steps is not fixed for the full lifecycle.
You can change it later in update or end calls if the workflow adds or removes
steps.Required. Include Authorization: Bearer ask_123456789 in every request. Replace ask_123456789 with your API key.
Start a new Live Activity. The response includes activity_id for later update and end calls.
Start payload requires title and type. For segmented_progress include number_of_steps and current_step. 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. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.
Optional single action button shown in the Live Activity UI.
Live Activity started