Trigger.dev · Schema

Trigger.dev Schedule

A scheduled task configuration in Trigger.dev

Developer-FirstWorkflow-AutomationBackground JobsDurable ExecutionTypeScriptAI AgentsReal-TimeOpen-Source

Properties

Name Type Description
id string Schedule identifier (prefixed with sched_)
task string Task identifier that this schedule triggers
type string Schedule type: IMPERATIVE (created via API) or DECLARATIVE (defined in code)
active boolean Whether the schedule is currently active
deduplicationKey string Key to prevent duplicate schedules
externalId string Custom external identifier for the schedule
timezone string IANA timezone identifier (e.g., America/New_York)
nextRun string ISO 8601 datetime of the next scheduled execution
generator object
environments array
View JSON Schema on GitHub

JSON Schema

trigger-dev-schedule-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trigger-dev/main/json-schema/trigger-dev-schedule-schema.json",
  "title": "Trigger.dev Schedule",
  "description": "A scheduled task configuration in Trigger.dev",
  "type": "object",
  "required": ["id", "task"],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^sched_",
      "description": "Schedule identifier (prefixed with sched_)"
    },
    "task": {
      "type": "string",
      "description": "Task identifier that this schedule triggers"
    },
    "type": {
      "type": "string",
      "enum": ["IMPERATIVE", "DECLARATIVE"],
      "description": "Schedule type: IMPERATIVE (created via API) or DECLARATIVE (defined in code)"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the schedule is currently active"
    },
    "deduplicationKey": {
      "type": "string",
      "description": "Key to prevent duplicate schedules"
    },
    "externalId": {
      "type": "string",
      "description": "Custom external identifier for the schedule"
    },
    "timezone": {
      "type": "string",
      "description": "IANA timezone identifier (e.g., America/New_York)"
    },
    "nextRun": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 datetime of the next scheduled execution"
    },
    "generator": {
      "type": "object",
      "properties": {
        "type": { "type": "string", "enum": ["CRON"] },
        "expression": { "type": "string", "description": "Cron expression" },
        "description": { "type": "string", "description": "Human-readable schedule description" }
      }
    },
    "environments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "type": { "type": "string", "enum": ["DEVELOPMENT", "STAGING", "PRODUCTION"] }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/trigger-dev-schedule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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