Skip to content
Navigation

List task starters

GET
/v1/tasks/starters

List the starter tasks available to the authenticated workspace, project, and environment. An API key needs tasks:read. The list is empty when the test fixture is unavailable.

Authorization

  • bearerAuth
    optional
    HTTP Bearer

    Authorization: Bearer <token>

  • browserSession
    optional
    API key in cookie
  • localBrowserSession
    optional
    API key in cookie

Header parameters

  • X-Simplcron-Environment
    optional
    production
    or
    development

    Environment for a browser session. Bearer keys always use their fixed environment.

    default: "production"

Returns

200

Starter catalog

JSON
  • starters
    array of
    object
    required
    • id
      string
      required

      Identifier to use when registering this starter.

    • slug
      string
      required

      Task slug to use when submitting a run or creating a supported schedule.

    • name
      string
      required
    • description
      string
      required
    • maxAttempts
      integer
      required
      maximum: 5 · minimum: 1
    • payload
      object
      required

      Sample payload for a test run.

401

Authentication is required
JSON
  • error
    string
    required

403

The API key lacks the required permission
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close