Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and stats activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
Use this endpoint to create a new Live Activity and get back anDocumentation Index
Fetch the complete documentation index at: https://activitysmith.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
activity_id.
You will use that same ID for later update and end calls.
metrics: send title, type, and a non-empty metrics array.stats: send title, type, and a non-empty metrics array for up to 8 labeled values.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 and stats include a non-empty metrics array. 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