SHIP AI Scheduled Tasks API

The scheduled-tasks API from SHIP AI — 5 operation(s) for scheduled-tasks.

GitHub OpenAPI

Operations 8

GET /scheduled-tasks List scheduled tasks across the caller's projects #
POST /scheduled-tasks Create a scheduled task #
GET /scheduled-tasks/templates Read-only gallery of curated scheduled task templates #
GET /scheduled-tasks/{scheduledTaskId} Fetch a scheduled task by id #
PATCH /scheduled-tasks/{scheduledTaskId} Update a scheduled task #
DELETE /scheduled-tasks/{scheduledTaskId} Delete a scheduled task and its run history #
GET /scheduled-tasks/{scheduledTaskId}/runs Run history for a scheduled task, with each run's mission state #
POST /scheduled-tasks/{scheduledTaskId}/run Run a scheduled task now, bypassing its schedule and skip guard #

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/letsship-ai:letsship-ai-scheduled-tasks-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

letsship-ai-scheduled-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP Scheduled Tasks API
  version: v1
  description: 'The SHIP product API: start and steer missions, and manage the projects, credentials and agents they run with.'
servers:
- url: https://api.letsship.ai/v1
tags:
- name: scheduled-tasks
paths:
  /scheduled-tasks:
    get:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: List scheduled tasks across the caller's projects
      description: Newest first. Give `projectId` to list the scheduled tasks of one project. A token for one project lists only the tasks of that project.
      parameters:
      - schema:
          type: string
          minLength: 1
          description: Only the scheduled tasks of this project. A project that the caller cannot reach gives an empty list.
        required: false
        name: projectId
        in: query
      responses:
        '200':
          description: Scheduled tasks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListScheduledTasksResponse'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getScheduledTasks
      x-operation-id-source: derived
    post:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Create a scheduled task
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScheduledTaskRequest'
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scheduled_task'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Project not accessible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postScheduledTasks
      x-operation-id-source: derived
  /scheduled-tasks/templates:
    get:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Read-only gallery of curated scheduled task templates
      responses:
        '200':
          description: Templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListScheduledTaskTemplatesResponse'
      operationId: getScheduledTasksTemplates
      x-operation-id-source: derived
  /scheduled-tasks/{scheduledTaskId}:
    get:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Fetch a scheduled task by id
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: scheduledTaskId
        in: path
      responses:
        '200':
          description: Scheduled task
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scheduled_task'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getScheduledTasksByScheduledTaskId
      x-operation-id-source: derived
    patch:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Update a scheduled task
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: scheduledTaskId
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateScheduledTaskRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scheduled_task'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchScheduledTasksByScheduledTaskId
      x-operation-id-source: derived
    delete:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Delete a scheduled task and its run history
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: scheduledTaskId
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteScheduledTaskResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteScheduledTasksByScheduledTaskId
      x-operation-id-source: derived
  /scheduled-tasks/{scheduledTaskId}/runs:
    get:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Run history for a scheduled task, with each run's mission state
      description: 'Newest first. When older runs exist, `nextCursor` is set: send it back as `cursor` for the next page.'
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: scheduledTaskId
        in: path
      - schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
          description: Runs on one page, 1 to 200 (default 50).
        required: false
        name: limit
        in: query
      - schema:
          type: string
          minLength: 1
          description: '`nextCursor` from the previous page. Leave it out for the newest runs.'
        required: false
        name: cursor
        in: query
      responses:
        '200':
          description: Runs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListScheduledTaskRunsResponse'
        '400':
          description: A cursor this API did not issue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getScheduledTasksByScheduledTaskIdRuns
      x-operation-id-source: derived
  /scheduled-tasks/{scheduledTaskId}/run:
    post:
      x-audience: public
      tags:
      - scheduled-tasks
      summary: Run a scheduled task now, bypassing its schedule and skip guard
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: scheduledTaskId
        in: path
      responses:
        '200':
          description: Dispatched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunScheduledTaskResponse'
        '403':
          description: Role or scope insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Slot already claimed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postScheduledTasksByScheduledTaskIdRun
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        category:
          type: string
          enum:
          - auth
          - rate_limit
          - timeout
          - validation
          - infrastructure
          - agent
          - unknown
          example: validation
        title:
          type: string
          example: Invalid request
        description:
          type: string
          example: The 'projectId' parameter must be a UUID.
        retryable:
          type: boolean
          example: false
        code:
          type: string
          example: credits_exhausted
      required:
      - category
      - title
      - description
      - retryable
    ListScheduledTaskTemplatesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledTaskTemplate'
      required:
      - data
    CreateScheduledTaskRequest:
      type: object
      properties:
        projectId:
          type: string
          minLength: 1
        name:
          type: string
          minLength: 1
          maxLength: 120
        prompt:
          type: string
          minLength: 1
          maxLength: 20000
        triggers:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledTaskTrigger'
          minItems: 1
          maxItems: 1
        labels:
          $ref: '#/components/schemas/ScheduledTaskLabels'
        templateKey:
          type: string
          minLength: 1
          maxLength: 120
        skipIfPreviousOpen:
          type: boolean
        enabled:
          type: boolean
      required:
      - projectId
      - name
      - prompt
      - triggers
    ScheduledTaskSchedule:
      type: object
      properties:
        interval:
          $ref: '#/components/schemas/ScheduledTaskInterval'
        time:
          type: string
          pattern: ^([01]\d|2[0-3]):[0-5]\d$
        timezone:
          type: string
          minLength: 1
        weekday:
          $ref: '#/components/schemas/ScheduledTaskWeekday'
        dayOfMonth:
          type: integer
          minimum: 1
          maximum: 28
      required:
      - interval
      - time
      - timezone
    Scheduled_task:
      type: object
      properties:
        createdByUserId:
          type:
          - string
          - 'null'
        id:
          type: string
        orgId:
          type: string
        projectId:
          type: string
        name:
          type: string
        prompt:
          type: string
        templateKey:
          type:
          - string
          - 'null'
        triggers:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledTaskTrigger'
        labels:
          $ref: '#/components/schemas/ScheduledTaskLabels'
        skipIfPreviousOpen:
          type: boolean
        enabled:
          type: boolean
        nextRunAt:
          type:
          - integer
          - 'null'
        lastRunAt:
          type:
          - integer
          - 'null'
        createdAt:
          type: integer
        updatedAt:
          type: integer
      required:
      - id
      - orgId
      - projectId
      - name
      - prompt
      - templateKey
      - triggers
      - labels
      - skipIfPreviousOpen
      - enabled
      - nextRunAt
      - lastRunAt
      - createdAt
      - updatedAt
    ScheduledTaskTrigger:
      oneOf:
      - type: object
        properties:
          kind:
            type: string
            enum:
            - schedule
          schedule:
            $ref: '#/components/schemas/ScheduledTaskSchedule'
        required:
        - kind
        - schedule
    ListScheduledTasksResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Scheduled_task'
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - data
      - nextCursor
    ScheduledTaskRunStatus:
      type: string
      enum:
      - dispatching
      - dispatched
      - skipped
      - failed
    UpdateScheduledTaskRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        prompt:
          type: string
          minLength: 1
          maxLength: 20000
        triggers:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledTaskTrigger'
          minItems: 1
          maxItems: 1
        labels:
          $ref: '#/components/schemas/ScheduledTaskLabels'
        skipIfPreviousOpen:
          type: boolean
        enabled:
          type: boolean
    ScheduledTaskRunKind:
      type: string
      enum:
      - scheduled
      - manual
    RunScheduledTaskResponse:
      type: object
      properties:
        ok:
          type: boolean
        runId:
          type: string
        issueId:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/ScheduledTaskRunStatus'
      required:
      - ok
      - runId
      - issueId
      - status
    ScheduledTaskInterval:
      type: string
      enum:
      - daily
      - weekly
      - monthly
    ListScheduledTaskRunsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ScheduledTaskRun'
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - data
      - nextCursor
    DeleteScheduledTaskResponse:
      type: object
      properties:
        ok:
          type: boolean
        id:
          type: string
      required:
      - ok
      - id
    ScheduledTaskTemplate:
      type: object
      properties:
        key:
          type: string
        name:
          type: string
        blurb:
          type: string
        prompt:
          type: string
        suggestedSchedule:
          $ref: '#/components/schemas/ScheduledTaskSchedule'
      required:
      - key
      - name
      - blurb
      - prompt
      - suggestedSchedule
    ScheduledTaskWeekday:
      type: string
      enum:
      - monday
      - tuesday
      - wednesday
      - thursday
      - friday
      - saturday
      - sunday
    ScheduledTaskRun:
      type: object
      properties:
        billingActorUserId:
          type:
          - string
          - 'null'
        id:
          type: string
        scheduledTaskId:
          type: string
        projectId:
          type: string
        scheduledFor:
          type: integer
        kind:
          $ref: '#/components/schemas/ScheduledTaskRunKind'
        status:
          $ref: '#/components/schemas/ScheduledTaskRunStatus'
        issueId:
          type:
          - string
          - 'null'
        issueUrl:
          type:
          - string
          - 'null'
        reason:
          type:
          - string
          - 'null'
        lastError:
          type:
          - string
          - 'null'
        createdAt:
          type: integer
        updatedAt:
          type: integer
        missionProgress:
          type:
          - string
          - 'null'
        missionActivity:
          type:
          - string
          - 'null'
        missionCostUsd:
          type:
          - number
          - 'null'
        missionCostIncomplete:
          type: boolean
        missionTitle:
          type:
          - string
          - 'null'
      required:
      - id
      - scheduledTaskId
      - projectId
      - scheduledFor
      - kind
      - status
      - issueId
      - issueUrl
      - reason
      - lastError
      - createdAt
      - updatedAt
      - missionProgress
      - missionActivity
      - missionCostUsd
      - missionCostIncomplete
      - missionTitle
    ScheduledTaskLabels:
      type: array
      items:
        type: string
        minLength: 1
        maxLength: 100
      maxItems: 10
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)