schedules sub-client: skyvern.schedules.<method>.
Every method here also accepts request_options (Python) or a final requestOptions argument (TypeScript) to override the timeout, retries or headers for one call; see request options.
schedules.list_all
List all schedules for the organizationint | None
Default:
Noneint | None
Default:
NoneSchedulesListAllRequestStatus | None
Filter by status: ‘active’ or ‘paused’Default:
Nonestr | None
Search by workflow title or schedule nameDefault:
NoneOrganizationScheduleListResponse · TypeScript Promise<OrganizationScheduleListResponse>
OrganizationScheduleListResponse fields
OrganizationScheduleListResponse fields
schedules.list
List schedules for an agentstr
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdWorkflowScheduleListResponse · TypeScript Promise<WorkflowScheduleListResponse>
WorkflowScheduleListResponse fields
WorkflowScheduleListResponse fields
schedules.create
Create a cron, fixed-interval or one-time schedule that runs the given agent automatically with a fixed set of parameters. An interval schedule first runs at first_fire_at, or one interval after creation. A one-time schedule runs once at run_at. Returns the stored schedule and its next upcoming run times.str
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
str | None
Sent only when you pass it
int | None
Fixed elapsed interval between runs, in seconds. Mutually exclusive with cron_expression.Sent only when you pass it
datetime | None
First run of an interval schedule; later runs follow every interval_seconds from it. Must be in the future when changed. Defaults to one interval after creation.Sent only when you pass it
datetime | None
Run the agent once at this instant, ISO 8601 with a UTC offset, at least 60 seconds in the future. Mutually exclusive with cron_expression and interval_seconds; the schedule can be edited or canceled only until it fires.Sent only when you pass it
bool | None
Sent only when you pass it
dict[str, Any | None] | None
Sent only when you pass it
str | None
Sent only when you pass it
str | None
Sent only when you pass it
WorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.get
Fetch one schedule belonging to an agent. Returns the schedule’s cron expression or interval, timezone, parameters, enabled state, and next upcoming run times.str
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdWorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.update
Replace a schedule’s cron expression, interval or one-time run_at, timezone, run parameters, and enabled state. A one-time schedule stays one-time and can change only until it fires; afterwards this returns 409. Returns the updated schedule and its next upcoming run times.str
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdstr
required
str | None
Sent only when you pass it
int | None
Fixed elapsed interval between runs, in seconds. Mutually exclusive with cron_expression.Sent only when you pass it
datetime | None
First run of an interval schedule; later runs follow every interval_seconds from it. Must be in the future when changed. Defaults to one interval after creation.Sent only when you pass it
datetime | None
Run the agent once at this instant, ISO 8601 with a UTC offset, at least 60 seconds in the future. Mutually exclusive with cron_expression and interval_seconds; the schedule can be edited or canceled only until it fires.Sent only when you pass it
bool | None
Sent only when you pass it
dict[str, Any | None] | None
Sent only when you pass it
str | None
Sent only when you pass it
str | None
Sent only when you pass it
WorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.enable
Enable an agent schedulestr
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdWorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.disable
Disable an agent schedulestr
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdWorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.cancel
Cancel a one-time schedule that has not fired yet. The schedule stays readable with dispatch_status canceled. Returns 409 once it has fired or was already canceled, and 422 for a recurring schedule.str
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdWorkflowScheduleResponse · TypeScript Promise<WorkflowScheduleResponse>
WorkflowScheduleResponse fields
WorkflowScheduleResponse fields
schedules.delete
Delete an agent schedulestr
required
ID of the agent (
wpid_…).TypeScript: workflowPermanentIdstr
required
ID of the schedule.TypeScript:
workflowScheduleIdDeleteScheduleResponse · TypeScript Promise<DeleteScheduleResponse>
DeleteScheduleResponse fields
DeleteScheduleResponse fields

