Run an agent
Pass values for the agent’s input parameters. The call returns immediately with arun_id — the agent runs asynchronously in the background.
Run parameters
Get results
Agents run asynchronously, so you need to check back for results. You have two options: poll the API, or receive a webhook when the agent completes.Option 1: Polling
Pollget_run until the status reaches a terminal state.
Option 2: Webhooks
Pass awebhook_url when running the agent. Skyvern sends a POST request to your URL when the agent reaches a terminal state.
Response fields
Schedule an agent
Schedules let you run any agent automatically on a recurring basis. Define a cron expression and timezone, and Skyvern triggers the agent at each interval.Create a schedule
A one-time schedule reads back a
dispatch_status of pending, fired, canceled or failed, and a workflow_run_id once it fires. If the scheduler was down at run_at, the schedule fires once when it recovers. You can update run_at or parameters only while the schedule is pending; after it fires, updates return 409.
Enable and disable a schedule
Cancel a one-time schedule
Cancel a one-time schedule before it fires. It stays readable withdispatch_status canceled. Canceling returns 409 once the schedule has fired or was already canceled, and 422 for a recurring schedule.

