Skyvern Schedules API

The Schedules API from Skyvern — 6 operation(s) for schedules.

GitHub OpenAPI

Operations 9

GET /v1/schedules List all schedules for the organization #
POST /v1/agents/{workflow_permanent_id}/schedules Create a schedule for an agent #
GET /v1/agents/{workflow_permanent_id}/schedules List schedules for an agent #
GET /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id} Get an agent schedule by id #
PUT /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id} Update an agent schedule #
DELETE /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id} Delete an agent schedule #
POST /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/cancel Cancel a one-time agent schedule #
POST /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/enable Enable an agent schedule #
POST /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/disable Disable an agent schedule #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/skyvern-com:skyvern-com-schedules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

skyvern-com-schedules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Skyvern Schedules API
  description: API for Skyvern
  version: 1.0.0
servers:
- url: https://api.skyvern.com
  x-fern-server-name: Cloud
- url: https://api-staging.skyvern.com
  x-fern-server-name: Staging
- url: http://localhost:8000
  x-fern-server-name: Local
tags:
- name: Schedules
paths:
  /v1/schedules:
    get:
      tags:
      - Schedules
      summary: List all schedules for the organization
      description: List every schedule in the organization, across all agents, filterable by active/paused status and a search term matched against agent title or schedule name. Returns a paginated list plus the total count.
      operationId: schedules_list_all
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000000
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 10
          title: Page Size
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - active
            - paused
            type: string
          - type: 'null'
          description: 'Filter by status: ''active'' or ''paused'''
          title: Status
        description: 'Filter by status: ''active'' or ''paused'''
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by workflow title or schedule name
          title: Search
        description: Search by workflow title or schedule name
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationScheduleListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{workflow_permanent_id}/schedules:
    post:
      tags:
      - Schedules
      summary: Create a schedule for an agent
      description: 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.
      operationId: schedules_create
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowScheduleUpsertRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Schedules
      summary: List schedules for an agent
      description: List all schedules attached to a single agent. Returns the schedules in creation order.
      operationId: schedules_list
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}:
    get:
      tags:
      - Schedules
      summary: Get an agent schedule by id
      description: Fetch one schedule belonging to an agent. Returns the schedule's cron expression or interval, timezone, parameters, enabled state, and next upcoming run times.
      operationId: schedules_get
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Schedules
      summary: Update an agent schedule
      description: 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.
      operationId: schedules_update
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowScheduleUpsertRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Schedules
      summary: Delete an agent schedule
      description: Permanently delete a schedule so it never triggers again. Returns an acknowledgement flag.
      operationId: schedules_delete
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/cancel:
    post:
      tags:
      - Schedules
      summary: Cancel a one-time agent schedule
      description: 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.
      operationId: schedules_cancel
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/enable:
    post:
      tags:
      - Schedules
      summary: Enable an agent schedule
      description: Resume a paused schedule so it starts triggering runs again. Returns the updated schedule.
      operationId: schedules_enable
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/disable:
    post:
      tags:
      - Schedules
      summary: Disable an agent schedule
      description: Pause a schedule so it stops triggering runs, without deleting it. Returns the updated schedule.
      operationId: schedules_disable
      parameters:
      - name: workflow_permanent_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Permanent Id
      - name: workflow_schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Schedule Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
          title: X-Api-Key
        description: Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowScheduleResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OneTimeDispatchStatus:
      type: string
      enum:
      - pending
      - fired
      - canceled
      - failed
      title: OneTimeDispatchStatus
    WorkflowScheduleUpsertRequest:
      properties:
        cron_expression:
          anyOf:
          - type: string
          - type: 'null'
          title: Cron Expression
        interval_seconds:
          anyOf:
          - type: integer
            maximum: 2147483647.0
            minimum: 300.0
          - type: 'null'
          title: Interval Seconds
          description: Fixed elapsed interval between runs, in seconds. Mutually exclusive with cron_expression.
        first_fire_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: First Fire At
          description: 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.
        run_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Run At
          description: 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.
        timezone:
          type: string
          title: Timezone
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Enabled
          default: true
        parameters:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Parameters
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
      type: object
      required:
      - timezone
      title: WorkflowScheduleUpsertRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OrganizationScheduleItem:
      properties:
        workflow_schedule_id:
          type: string
          title: Workflow Schedule Id
        organization_id:
          type: string
          title: Organization Id
        workflow_permanent_id:
          type: string
          title: Workflow Permanent Id
        workflow_title:
          type: string
          title: Workflow Title
        cron_expression:
          anyOf:
          - type: string
          - type: 'null'
          title: Cron Expression
        interval_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Interval Seconds
        first_fire_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: First Fire At
        run_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Run At
        dispatch_status:
          anyOf:
          - $ref: '#/components/schemas/OneTimeDispatchStatus'
          - type: 'null'
        workflow_run_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workflow Run Id
        timezone:
          type: string
          title: Timezone
        enabled:
          type: boolean
          title: Enabled
        parameters:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Parameters
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        next_run:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Next Run
        created_at:
          type: string
          format: date-time
          title: Created At
        modified_at:
          type: string
          format: date-time
          title: Modified At
      type: object
      required:
      - workflow_schedule_id
      - organization_id
      - workflow_permanent_id
      - workflow_title
      - timezone
      - enabled
      - created_at
      - modified_at
      title: OrganizationScheduleItem
      description: 'Compact schedule projection for the org-wide list endpoint.


        Intentionally omits `backend_schedule_id` — the list view is for browsing

        schedules in the dashboard, not for managing the underlying execution-backend

        binding. Callers that need the backend id should fetch the individual

        schedule via the per-workflow get endpoint.'
    WorkflowScheduleListResponse:
      properties:
        schedules:
          items:
            $ref: '#/components/schemas/WorkflowSchedule'
          type: array
          title: Schedules
      type: object
      required:
      - schedules
      title: WorkflowScheduleListResponse
    OrganizationScheduleListResponse:
      properties:
        schedules:
          items:
            $ref: '#/components/schemas/OrganizationScheduleItem'
          type: array
          title: Schedules
        total_count:
          type: integer
          title: Total Count
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
      type: object
      required:
      - schedules
      - total_count
      - page
      - page_size
      title: OrganizationScheduleListResponse
    WorkflowScheduleResponse:
      properties:
        schedule:
          $ref: '#/components/schemas/WorkflowSchedule'
        next_runs:
          items:
            type: string
            format: date-time
          type: array
          title: Next Runs
      type: object
      required:
      - schedule
      title: WorkflowScheduleResponse
    DeleteScheduleResponse:
      properties:
        ok:
          type: boolean
          title: Ok
      type: object
      required:
      - ok
      title: DeleteScheduleResponse
    WorkflowSchedule:
      properties:
        workflow_schedule_id:
          type: string
          title: Workflow Schedule Id
        organization_id:
          type: string
          title: Organization Id
        workflow_permanent_id:
          type: string
          title: Workflow Permanent Id
        cron_expression:
          anyOf:
          - type: string
          - type: 'null'
          title: Cron Expression
        interval_seconds:
          anyOf:
          - type: integer
          - type: 'null'
          title: Interval Seconds
        first_fire_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: First Fire At
        run_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Run At
        dispatch_status:
          anyOf:
          - $ref: '#/components/schemas/OneTimeDispatchStatus'
          - type: 'null'
        workflow_run_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Workflow Run Id
        timezone:
          type: string
          title: Timezone
        enabled:
          type: boolean
          title: Enabled
        parameters:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Parameters
        temporal_schedule_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Temporal Schedule Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        created_by:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By
          description: Who the schedule runs as; null for schedules created before owners were recorded.
        created_at:
          type: string
          format: date-time
          title: Created At
        modified_at:
          type: string
          format: date-time
          title: Modified At
        deleted_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Deleted At
      type: object
      required:
      - workflow_schedule_id
      - organization_id
      - workflow_permanent_id
      - timezone
      - enabled
      - created_at
      - modified_at
      title: WorkflowSchedule
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: Your Skyvern API key from https://app.skyvern.com/settings.
      in: header
      name: x-api-key