Trigger.dev runs deployed background tasks. Start one task or batch up to 1,000 runs, then poll run status and pass completed output to later workflow steps. You can also inspect and control runs, schedules, queues, and environment resources.
Connect with a project-scoped secret API key beginning with tr_. The key determines the environment used for runs, schedules, and queues.
Note: the environment variable operations (List Env Vars, Get Env Var) return variable values in plaintext, and those values appear in workflow outputs and run history. Scope workflows that read environment variables carefully.
Trigger and batch trigger background tasks, retrieve and control runs (cancel, replay, reschedule, tags, metadata, events, traces), manage cron schedules, environment variables, queues, deployments, and waitpoint tokens, and query run data with TRQL.
Trigger a Trigger.dev task by its identifier with an optional JSON payload. Returns the ID of the created run.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) taskIdentifierstring Yes Identifier of the task to trigger (e.g., "send-welcome-email") payloadjson No JSON payload passed to the task run. Example: {"userId": "user_123"} idempotencyKeystring No Idempotency key that ensures the task is only triggered once per key queuestring No Name of the queue to run the task on concurrencyKeystring No Key that scopes the queue concurrency limit (e.g., a user ID) delaystring No Delay before the run executes, as a duration ("30m", "1h", "2d") or an ISO 8601 date ttlstring No Time-to-live before an unstarted run expires, as a duration ("1h42m") or seconds machinestring No Machine preset for the run: micro, small-1x, small-2x, medium-1x, medium-2x, large-1x, or large-2x tagsstring No Comma-separated tags to attach to the run (max 10, each under 128 characters)
Parameter Type Description idstring ID of the run that was triggered (starts with run_)
Batch trigger a Trigger.dev task with up to 1,000 payloads. All items in the batch run the same task. Returns the batch ID and the created run IDs.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) taskIdentifierstring Yes Identifier of the task to batch trigger (e.g., "send-welcome-email") itemsjson Yes JSON array of batch items (max 1,000). Each item is an object with a "payload" and optional "options" (queue, concurrencyKey, idempotencyKey, ttl, delay, tags, machine). Example: [{"payload": {"userId": "user_1"}}, {"payload": {"userId": "user_2"}, "options": {"delay": "1h"}}]
Parameter Type Description batchIdstring ID of the batch that was triggered runIdsarray IDs of the runs created by the batch
Retrieve a Trigger.dev batch by its ID, including its status, run IDs, and success and failure counts.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) batchIdstring Yes ID of the batch to retrieve (starts with batch_)
Parameter Type Description idstring ID of the batch (starts with batch_) statusstring Batch status (PENDING, PROCESSING, COMPLETED, PARTIAL_FAILED, or ABORTED) idempotencyKeystring Idempotency key provided when triggering the batch createdAtstring ISO timestamp when the batch was created updatedAtstring ISO timestamp when the batch was last updated runCountnumber Total number of runs in the batch runIdsarray IDs of the runs in the batch successfulRunCountnumber Number of successful runs, populated after completion failedRunCountnumber Number of failed runs, populated after completion errorsarray Error details for failed items, present for PARTIAL_FAILED batches ↳ index number Index of the failed item ↳ taskIdentifier string Task identifier of the failed item ↳ error json Error details ↳ errorCode string Optional error code
Retrieve the execution results of every run in a Trigger.dev batch, including outputs and error details.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) batchIdstring Yes ID of the batch to retrieve results for (starts with batch_)
Parameter Type Description idstring ID of the batch (starts with batch_) itemsarray Execution results for each run in the batch
Retrieve a Trigger.dev run by its ID, including status, payload, output, attempts, and timing details.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to retrieve (starts with run_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Retrieve the result of a Trigger.dev run: whether it succeeded, its output, and error details. Lighter than Get Run when only the outcome is needed.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to retrieve the result for (starts with run_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Retrieve the log and span events of a Trigger.dev run, including messages, levels, durations, and error events.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to retrieve events for (starts with run_)
Parameter Type Description eventsarray Log and span events recorded during the run ↳ spanId string Span ID of the event ↳ parentId string Parent span ID ↳ runId string Run ID associated with the event ↳ message string Event message ↳ startTime string Start time as a bigint string (nanoseconds since epoch) ↳ duration number Duration of the event in nanoseconds ↳ isError boolean Whether the event represents an error ↳ isPartial boolean Whether the event is still in progress ↳ isCancelled boolean Whether the event was cancelled ↳ level string Log level (TRACE, DEBUG, LOG, INFO, WARN, or ERROR) ↳ kind string Kind of span event ↳ attemptNumber number Attempt number the event belongs to ↳ taskSlug string Task identifier ↳ events array Span events (e.g., exceptions) that occurred during this event ↳ name string Event name ↳ time string When the event occurred
Retrieve the OpenTelemetry trace of a Trigger.dev run as a tree of spans with timing, errors, and nested children.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to retrieve the trace for (starts with run_)
Parameter Type Description traceIdstring OpenTelemetry trace ID of the run rootSpanjson Root span of the trace; each span has id, parentId, runId, data (message, taskSlug, startTime, duration, isError, level, events), and recursively nested children spans
List Trigger.dev runs in the environment of the API key, with optional filters for status, task, version, tags, schedule, and creation time.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) statusstring No Comma-separated run statuses to filter by: PENDING_VERSION, DELAYED, QUEUED, EXECUTING, REATTEMPTING, FROZEN, COMPLETED, CANCELED, FAILED, CRASHED, INTERRUPTED, SYSTEM_FAILURE taskIdentifierstring No Comma-separated task identifiers to filter by versionstring No Comma-separated worker versions to filter by (e.g., "20240101.1") tagstring No Comma-separated tags to filter by schedulestring No Schedule ID to filter by (starts with sched_) isTeststring No Filter by test runs: "true" for only test runs, "false" to exclude them periodstring No Only return runs created in the given period (e.g., "1h", "7d") fromstring No Only return runs created on or after this ISO 8601 timestamp tostring No Only return runs created on or before this ISO 8601 timestamp pageSizenumber No Number of runs per page (max 100, default 25) pageAfterstring No Run ID to start the page after, for forward pagination pageBeforestring No Run ID to start the page before, for backward pagination
Parameter Type Description runsarray Runs matching the filters paginationobject Cursor pagination details ↳ next string Run ID to start the next page after ↳ previous string Run ID to start the previous page before
Cancel an in-progress Trigger.dev run. Has no effect if the run is already completed.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to cancel (starts with run_)
Parameter Type Description idstring ID of the run that was canceled
Replay a Trigger.dev run, creating a new run with the same payload and options as the original.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to replay (starts with run_)
Parameter Type Description idstring ID of the new run created by the replay
Reschedule a delayed Trigger.dev run with a new delay. Only valid while the run is in the DELAYED state.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the delayed run to reschedule (starts with run_) delaystring Yes New delay for the run, as a duration ("30m", "1h", "2d") or an ISO 8601 date to delay until
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Add tags to an existing Trigger.dev run. Runs can have up to 10 tags.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to tag (starts with run_) tagsstring Yes Comma-separated tags to add to the run (max 10 total, each under 128 characters)
Parameter Type Description messagestring Confirmation message for the added tags
Replace the metadata of a Trigger.dev run with a new JSON object.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) runIdstring Yes ID of the run to update (starts with run_) metadatajson Yes JSON object to set as the run metadata. Example: {"stage": "approved"}
Parameter Type Description metadatajson The updated metadata of the run
Create an imperative cron schedule that triggers a Trigger.dev task on a recurring basis.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) taskstring Yes Identifier of the task to schedule (e.g., "daily-report") cronstring Yes Cron expression defining when the task runs (e.g., "0 0 * * *") timezonestring No IANA timezone the cron expression is evaluated in (e.g., "America/New_York"). Defaults to UTC externalIdstring No External identifier to associate with the schedule (e.g., a user ID) deduplicationKeystring Yes Key that prevents duplicate schedules; creating again with the same key updates the existing schedule
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Retrieve a Trigger.dev schedule by its ID.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) scheduleIdstring Yes ID of the schedule to retrieve (starts with sched_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
List Trigger.dev schedules in the project, with page-based pagination.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) pagenumber No Page number to return (default 1) perPagenumber No Number of schedules per page
Parameter Type Description schedulesarray Schedules in the project ↳ id string Unique ID of the schedule (starts with sched_) ↳ task string Identifier of the task the schedule triggers ↳ type string Schedule type (DECLARATIVE or IMPERATIVE) ↳ active boolean Whether the schedule is active ↳ deduplicationKey string Deduplication key of the schedule ↳ externalId string External ID associated with the schedule ↳ cron string Cron expression of the schedule ↳ cronDescription string Human-readable description of the cron expression ↳ timezone string IANA timezone of the schedule ↳ nextRun string ISO timestamp of the next scheduled run ↳ environments array Environments the schedule runs in ↳ id string Environment ID ↳ type string Environment type ↳ userName string Username for dev environments paginationobject Page-based pagination details ↳ currentPage number Current page number ↳ totalPages number Total number of pages ↳ count number Total number of schedules
Update an imperative Trigger.dev schedule by its ID, replacing its task, cron expression, timezone, and external ID.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) scheduleIdstring Yes ID of the schedule to update (starts with sched_) taskstring Yes Identifier of the task the schedule triggers (e.g., "daily-report") cronstring Yes Cron expression defining when the task runs (e.g., "0 0 * * *") timezonestring No IANA timezone the cron expression is evaluated in (e.g., "America/New_York"). Defaults to UTC externalIdstring No External identifier to associate with the schedule (e.g., a user ID)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Delete an imperative Trigger.dev schedule by its ID.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) scheduleIdstring Yes ID of the schedule to delete (starts with sched_)
Parameter Type Description deletedboolean Whether the schedule was deleted scheduleIdstring ID of the schedule that was deleted
Activate an imperative Trigger.dev schedule so it resumes triggering its task.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) scheduleIdstring Yes ID of the schedule to activate (starts with sched_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Deactivate an imperative Trigger.dev schedule so it stops triggering its task.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) scheduleIdstring Yes ID of the schedule to deactivate (starts with sched_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
List the environment variables of a Trigger.dev project environment. Values are returned in plaintext and will appear in workflow outputs and run history — scope this operation carefully.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment to list variables for: dev, staging, or prod
Parameter Type Description variablesarray Environment variables in the project environment ↳ name string Name of the environment variable ↳ value string Plaintext value of the environment variable; appears in workflow outputs and run history
Create an environment variable in a Trigger.dev project environment.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment to create the variable in: dev, staging, or prod namestring Yes Name of the environment variable (e.g., "SLACK_API_KEY") valuestring Yes Value of the environment variable
Parameter Type Description successboolean Whether the environment variable was created namestring Name of the environment variable that was created
Retrieve an environment variable from a Trigger.dev project environment. The value is returned in plaintext and will appear in workflow outputs and run history.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment to read the variable from: dev, staging, or prod namestring Yes Name of the environment variable (e.g., "SLACK_API_KEY")
Parameter Type Description namestring Name of the environment variable valuestring Plaintext value of the environment variable; appears in workflow outputs and run history
Update the value of an environment variable in a Trigger.dev project environment.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment the variable belongs to: dev, staging, or prod namestring Yes Name of the environment variable to update (e.g., "SLACK_API_KEY") valuestring Yes New value of the environment variable
Parameter Type Description successboolean Whether the environment variable was updated namestring Name of the environment variable that was updated
Delete an environment variable from a Trigger.dev project environment.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment the variable belongs to: dev, staging, or prod namestring Yes Name of the environment variable to delete (e.g., "SLACK_API_KEY")
Parameter Type Description successboolean Whether the environment variable was deleted namestring Name of the environment variable that was deleted
Upload multiple environment variables to a Trigger.dev project environment in one request.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) projectRefstring Yes External ref of the project, from the project settings (starts with proj_) environmentstring Yes Environment to upload the variables to: dev, staging, or prod variablesjson Yes JSON array of environment variables to upload. Example: [{"name": "SLACK_API_KEY", "value": "slack_123"}] overridestring No Whether to override existing variables: "true" or "false" (default false)
Parameter Type Description successboolean Whether the environment variables were uploaded countnumber Number of environment variables submitted
Retrieve a Trigger.dev queue by ID, task identifier, or custom queue name, including its running and queued counts.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) queueNamestring Yes Queue ID (starts with queue_), task identifier, or custom queue name, depending on the queue type queueTypestring No How to interpret the queue name: "id" (default) for a queue ID, "task" for a task identifier, or "custom" for a custom queue name
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
List the queues in the environment of the API key, including running and queued counts, with page-based pagination.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) pagenumber No Page number to return (default 1) perPagenumber No Number of queues per page
Parameter Type Description queuesarray Queues in the environment ↳ id string Unique ID of the queue (starts with queue_) ↳ name string Name of the queue ↳ type string Queue type (task for task-default queues, custom for named queues) ↳ running number Number of runs currently executing ↳ queued number Number of runs waiting in the queue ↳ paused boolean Whether the queue is paused ↳ concurrencyLimit number Maximum number of runs that can execute concurrently ↳ concurrency object Concurrency details for the queue ↳ current number Current concurrency limit ↳ base number Base concurrency limit ↳ override number Overridden concurrency limit ↳ overriddenAt string ISO timestamp when the concurrency limit was overridden paginationobject Page-based pagination details ↳ currentPage number Current page number ↳ totalPages number Total number of pages ↳ count number Total number of queues
Pause a Trigger.dev queue so no new runs start. Runs that are currently executing continue to completion.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) queueNamestring Yes Queue ID (starts with queue_), task identifier, or custom queue name, depending on the queue type queueTypestring No How to interpret the queue name: "id" (default) for a queue ID, "task" for a task identifier, or "custom" for a custom queue name
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Resume a paused Trigger.dev queue so new runs can start again.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) queueNamestring Yes Queue ID (starts with queue_), task identifier, or custom queue name, depending on the queue type queueTypestring No How to interpret the queue name: "id" (default) for a queue ID, "task" for a task identifier, or "custom" for a custom queue name
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Override the concurrency limit of a Trigger.dev queue with a new value.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) queueNamestring Yes Queue ID (starts with queue_), task identifier, or custom queue name, depending on the queue type queueTypestring No How to interpret the queue name: "id" (default) for a queue ID, "task" for a task identifier, or "custom" for a custom queue name concurrencyLimitnumber Yes New concurrency limit for the queue (0 to 100000)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Reset the concurrency limit of a Trigger.dev queue back to its base value, removing any override.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) queueNamestring Yes Queue ID (starts with queue_), task identifier, or custom queue name, depending on the queue type queueTypestring No How to interpret the queue name: "id" (default) for a queue ID, "task" for a task identifier, or "custom" for a custom queue name
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
List Trigger.dev deployments in the environment of the API key, with optional status and creation-time filters.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) statusstring No Deployment status to filter by: PENDING, BUILDING, DEPLOYING, DEPLOYED, FAILED, CANCELED, or TIMED_OUT periodstring No Only return deployments created in the given period (e.g., "1h", "7d") fromstring No Only return deployments created on or after this ISO 8601 timestamp tostring No Only return deployments created on or before this ISO 8601 timestamp pageSizenumber No Number of deployments per page (5 to 100, default 20) pageAfterstring No Cursor to start the page after, from the previous response pagination
Parameter Type Description deploymentsarray Deployments matching the filters paginationobject Cursor pagination details ↳ next string Cursor to pass as the page-after parameter for the next page
Retrieve a Trigger.dev deployment by its ID, including its status, version, and registered tasks.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) deploymentIdstring Yes ID of the deployment to retrieve
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Retrieve the latest Trigger.dev deployment in the environment of the API key.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
Promote a Trigger.dev deployment version so new runs execute on it (e.g., to roll back to a previous version).
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) versionstring Yes Deployment version to promote (e.g., "20250228.1")
Parameter Type Description idstring ID of the promoted deployment versionstring Version of the promoted deployment shortCodestring Short code of the promoted deployment
Execute a TRQL (SQL-like) query against Trigger.dev run data for reporting and analytics.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) querystring Yes TRQL query to execute (e.g., "SELECT run_id, status, triggered_at FROM runs WHERE status = 'Failed' LIMIT 10") scopestring No Scope of data to query: environment (default), project, or organization periodstring No Time period shorthand (e.g., "1h", "7d", "30d"). Cannot be combined with from/to fromstring No Start of the time range as an ISO 8601 timestamp. Must be used with "to" tostring No End of the time range as an ISO 8601 timestamp. Must be used with "from" formatstring No Response format: "json" (default) for structured rows or "csv" for a CSV string
Parameter Type Description formatstring Format of the results (json or csv) resultsjson Query results: an array of row objects for json format, a CSV string for csv
Retrieve the TRQL query schema: the tables and columns available for Execute Query, with types and allowed values.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_)
Parameter Type Description tablesarray Tables that can be queried with TRQL ↳ name string Table name used in TRQL queries ↳ description string Description of the table ↳ timeColumn string Primary time column for the table ↳ columns array Columns of the table ↳ name string Column name ↳ type string ClickHouse data type ↳ description string Column description ↳ example string Example value ↳ allowedValues array Allowed values for enum-like columns ↳ coreColumn boolean Whether the column is included in default queries
Create a Trigger.dev waitpoint token that a task can wait on until it is completed from outside (e.g., a human approval).
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) timeoutstring No How long before the token times out, as a duration ("30s", "1m", "2h", "3d") or an ISO 8601 date idempotencyKeystring No Idempotency key; passing the same key before it expires returns the original token idempotencyKeyTTLstring No How long the idempotency key is valid, as a duration ("30s", "1m", "2h", "3d") tagsstring No Comma-separated tags to attach to the waitpoint (max 10, each under 128 characters)
Parameter Type Description idstring Unique ID of the waitpoint token (starts with waitpoint_) isCachedboolean Whether an existing token was returned because the same idempotency key was reused urlstring HTTP callback URL; a POST request to this URL completes the waitpoint without an API key
Complete a Trigger.dev waitpoint token, resuming any task waiting on it and passing it optional JSON data.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) waitpointIdstring Yes ID of the waitpoint token to complete (starts with waitpoint_) datajson No JSON data passed back to the waiting run as the token result. Example: {"status": "approved"}
Parameter Type Description successboolean Whether the waitpoint token was completed
Retrieve a Trigger.dev waitpoint token by its ID, including its status, timeout, and completion data.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) waitpointIdstring Yes ID of the waitpoint token to retrieve (starts with waitpoint_)
Parameter Type Description idstring Run, schedule, or queue ID batchIdstring Batch ID (Batch Trigger Task) runIdsjson Run IDs in the batch (batch operations) runCountnumber Total number of runs in the batch (Get Batch) successfulRunCountnumber Number of successful runs in the batch (Get Batch) failedRunCountnumber Number of failed runs in the batch (Get Batch) errorsjson Error details for failed batch items (Get Batch) itemsjson Execution results for each run in the batch (Get Batch Results) statusstring Run status (Get Run) taskIdentifierstring Task identifier of the run (Get Run) createdAtstring When the run was created (Get Run) startedAtstring When the run started (Get Run) finishedAtstring When the run finished (Get Run) durationMsnumber Compute duration in milliseconds (Get Run) costInCentsnumber Compute cost in cents (Get Run) isTestboolean Whether the run is a test run (Get Run) tagsjson Tags attached to the run (Get Run) payloadjson Payload the run was triggered with (Get Run) outputjson Output returned by the run (Get Run) attemptsjson Attempts made for the run (Get Run) metadatajson Run metadata (Get Run, Update Run Metadata) okboolean Whether the run succeeded (Get Run Result) outputTypestring Content type of the run output (Get Run Result) errorjson Error details for a failed run (Get Run Result) messagestring Confirmation message (Add Run Tags) eventsjson Log and span events of the run (Get Run Events) traceIdstring OpenTelemetry trace ID (Get Run Trace) rootSpanjson Root span of the run trace (Get Run Trace) runsjson Runs matching the filters (List Runs) schedulesjson Schedules in the project (List Schedules) paginationjson Pagination details (list operations) taskstring Task the schedule triggers (schedule operations) activeboolean Whether the schedule is active (schedule operations) cronstring Cron expression (schedule operations) cronDescriptionstring Human-readable cron description (schedule operations) timezonestring Timezone of the schedule (schedule operations) nextRunstring Next scheduled run time (schedule operations) environmentsjson Environments the schedule runs in (schedule operations) deletedboolean Whether the schedule was deleted (Delete Schedule) variablesjson Environment variables in the project environment (List Env Vars) namestring Environment variable or queue name (env var and queue operations) valuestring Value of the environment variable (Get Env Var) successboolean Whether the operation succeeded (env var operations, Complete Waitpoint Token) countnumber Number of environment variables submitted (Import Env Vars) queuesjson Queues in the environment (List Queues) runningnumber Runs currently executing (queue operations) queuednumber Runs waiting in the queue (queue operations) pausedboolean Whether the queue is paused (queue operations) concurrencyLimitnumber Concurrency limit of the queue (queue operations) concurrencyjson Concurrency details of the queue (queue operations) deploymentsjson Deployments matching the filters (List Deployments) versionstring Deployment version (deployment operations) shortCodestring Deployment short code (deployment operations) tasksjson Tasks registered by the deployed worker (deployment operations) formatstring Format of the query results (Execute Query) resultsjson Query results (Execute Query) tablesjson Queryable TRQL tables and columns (Get Query Schema) tokensjson Waitpoint tokens (List Waitpoint Tokens) urlstring Waitpoint callback URL (waitpoint operations) isCachedboolean Whether an existing token was returned (Create Waitpoint Token) timezonesjson Supported IANA timezones (List Timezones)
List Trigger.dev waitpoint tokens in the environment of the API key, with optional status, tag, and creation-time filters.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) statusstring No Waitpoint status to filter by: WAITING, COMPLETED, or TIMED_OUT idempotencyKeystring No Idempotency key to filter by tagsstring No Comma-separated tags to filter by periodstring No Only return tokens created in the given period (e.g., "1h", "7d") fromstring No Only return tokens created on or after this ISO 8601 timestamp tostring No Only return tokens created on or before this ISO 8601 timestamp pageSizenumber No Number of tokens per page (max 100) pageAfterstring No Waitpoint ID to start the page after, for forward pagination pageBeforestring No Waitpoint ID to start the page before, for backward pagination
Parameter Type Description tokensarray Waitpoint tokens matching the filters paginationobject Cursor pagination details ↳ next string Waitpoint ID to start the next page after ↳ previous string Waitpoint ID to start the previous page before
List the IANA timezones supported by Trigger.dev schedules, for use as the timezone of a cron schedule.
Inputs and outputsParameter Type Required Description apiKeystring Yes Trigger.dev secret API key (starts with tr_) excludeUtcstring No Set to "true" to exclude UTC from the returned timezones
Parameter Type Description timezonesarray IANA timezones supported by schedules