Trigger.dev
trigger_devTrigger.dev is a platform for building, deploying, and managing reliable background tasks and workflows.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Batch Trigger TaskTRIGGER_DEV_BATCH_TRIGGER_TASKAcciónStart multiple runs of one deployed Trigger.dev task in one provider-side batch and return the batch and run IDs.
TRIGGER_DEV_BATCH_TRIGGER_TASKAcciónStart multiple runs of one deployed Trigger.dev task in one provider-side batch and return the batch and run IDs.
Parámetros de entrada
itemsobject[]ObligatorioBetween 1 and 1000 runs to create; each item may include payload, context, and options.
task_identifierstringObligatorioIdentifier of the deployed task to run for every item.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Execute TRQL QueryTRIGGER_DEV_EXECUTE_TRQL_QUERYAcciónRun one read-only Trigger.dev Query Language SELECT statement for custom run analytics and return JSON rows or CSV text.
TRIGGER_DEV_EXECUTE_TRQL_QUERYAcciónRun one read-only Trigger.dev Query Language SELECT statement for custom run analytics and return JSON rows or CSV text.
Parámetros de entrada
querystringObligatorioTRQL SELECT query to execute against Trigger.dev analytics data.
scopestringenumData boundary for the query; the connected key still limits accessible data.
environmentprojectorganizationformatstringenumReturn typed JSON rows or CSV text.
jsoncsvperiodstringTrigger.dev relative time period for the query.
to_timestringEnd of the query time window as an ISO 8601 date-time.
from_timestringStart of the query time window as an ISO 8601 date-time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get BatchTRIGGER_DEV_GET_BATCHAcciónRetrieve a task batch's status, run IDs, completion counts, and item errors.
TRIGGER_DEV_GET_BATCHAcciónRetrieve a task batch's status, run IDs, completion counts, and item errors.
Parámetros de entrada
batch_idstringObligatorioBatch ID returned by a batch trigger; sent as batchId in the path.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Batch ResultsTRIGGER_DEV_GET_BATCH_RESULTSAcciónRetrieve the success or failure outcome and encoded output for every run in a completed task batch.
TRIGGER_DEV_GET_BATCH_RESULTSAcciónRetrieve the success or failure outcome and encoded output for every run in a completed task batch.
Parámetros de entrada
batch_idstringObligatorioBatch ID returned by a batch trigger.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ErrorTRIGGER_DEV_GET_ERRORAcciónRetrieve one Trigger.dev error group's message, occurrence history, affected versions, and resolution or ignore state.
TRIGGER_DEV_GET_ERRORAcciónRetrieve one Trigger.dev error group's message, occurrence history, affected versions, and resolution or ignore state.
Parámetros de entrada
error_idstringObligatorioError-group ID returned by the error list; sent as errorId in the path.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RunTRIGGER_DEV_GET_RUNAcciónRetrieve one run's status, timing, payload, output, attempts, metadata, relationships, schedule, and cost details. Presigned payload or output URLs are returned without fetching their content.
TRIGGER_DEV_GET_RUNAcciónRetrieve one run's status, timing, payload, output, attempts, metadata, relationships, schedule, and cost details. Presigned payload or output URLs are returned without fetching their content.
Parámetros de entrada
run_idstringObligatorioRun ID returned by a trigger or run-list response; sent as runId in the path.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Run ResultTRIGGER_DEV_GET_RUN_RESULTAcciónRetrieve one run's compact success or failure result, including its encoded output or error and usage duration.
TRIGGER_DEV_GET_RUN_RESULTAcciónRetrieve one run's compact success or failure result, including its encoded output or error and usage duration.
Parámetros de entrada
run_idstringObligatorioRun ID whose terminal result is needed; sent as runId in the path.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ErrorsTRIGGER_DEV_LIST_ERRORSAcciónReturn one forward page of Trigger.dev error groups, optionally filtered by task, version, status, text, or time window.
TRIGGER_DEV_LIST_ERRORSAcciónReturn one forward page of Trigger.dev error groups, optionally filtered by task, version, status, text, or time window.
Parámetros de entrada
periodstringTrigger.dev relative time period filter.
searchstringText to search for in error groups.
to_timestringOnly include errors seen at or before this ISO 8601 date-time.
statusesstring[]Error-group statuses to include.
versionsstring[]Deployment versions whose errors should be returned.
from_timestringOnly include errors seen at or after this ISO 8601 date-time.
page_sizeintegerNumber of error groups requested for this page; sent as page[size].
next_cursorstringOpaque next_cursor from a previous response. Omit for the first page; pass it back unchanged to fetch the next page.
task_identifiersstring[]Task identifiers whose errors should be returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RunsTRIGGER_DEV_LIST_RUNSAcciónReturn one forward page of runs in the connected environment, optionally filtered by time, status, task, version, tags, schedule, bulk action, test mode, or error.
TRIGGER_DEV_LIST_RUNSAcciónReturn one forward page of runs in the connected environment, optionally filtered by time, status, task, version, tags, schedule, bulk action, test mode, or error.
Parámetros de entrada
tagsstring[]Run tags to match.
errorstringError-group ID whose runs should be returned.
is_testbooleanWhen set, include only test runs or only non-test runs.
statusesstring[]Run statuses to include.
versionsstring[]Deployment versions to include.
page_sizeintegerNumber of runs requested for this page; sent as page[size].
created_tostringOnly return runs created at or before this ISO 8601 date-time.
next_cursorstringOpaque next_cursor from a previous response. Omit for the first page; pass it back unchanged to fetch the next page.
schedule_idstringOnly return runs created by this schedule.
created_fromstringOnly return runs created at or after this ISO 8601 date-time.
bulk_action_idstringOnly return runs associated with this Trigger.dev bulk-action ID.
created_periodstringTrigger.dev relative time period for run creation.
task_identifiersstring[]Task identifiers to include.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trigger TaskTRIGGER_DEV_TRIGGER_TASKAcciónStart one run of a deployed Trigger.dev task and return the new run ID.
TRIGGER_DEV_TRIGGER_TASKAcciónStart one run of a deployed Trigger.dev task and return the new run ID.
Parámetros de entrada
contextanyOptional JSON-compatible context made available to the task run.
optionsobjectOptional queueing, deduplication, timing, tagging, and machine settings.
payloadanyJSON-compatible input payload for the task.
task_identifierstringObligatorioIdentifier of the deployed task to run.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not