Volver al catálogo

Trigger.dev

trigger_dev

Trigger.dev is a platform for building, deploying, and managing reliable background tasks and workflows.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Start 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[]Obligatorio

    Between 1 and 1000 runs to create; each item may include payload, context, and options.

  • task_identifierstringObligatorio

    Identifier of the deployed task to run for every item.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Execute TRQL QueryTRIGGER_DEV_EXECUTE_TRQL_QUERYAcción

Run one read-only Trigger.dev Query Language SELECT statement for custom run analytics and return JSON rows or CSV text.

Parámetros de entrada

  • querystringObligatorio

    TRQL SELECT query to execute against Trigger.dev analytics data.

  • scopestringenum

    Data boundary for the query; the connected key still limits accessible data.

    environmentprojectorganization
  • formatstringenum

    Return typed JSON rows or CSV text.

    jsoncsv
  • periodstring

    Trigger.dev relative time period for the query.

  • to_timestring

    End of the query time window as an ISO 8601 date-time.

  • from_timestring

    Start of the query time window as an ISO 8601 date-time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get BatchTRIGGER_DEV_GET_BATCHAcción

Retrieve a task batch's status, run IDs, completion counts, and item errors.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch ID returned by a batch trigger; sent as batchId in the path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Batch ResultsTRIGGER_DEV_GET_BATCH_RESULTSAcción

Retrieve the success or failure outcome and encoded output for every run in a completed task batch.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch ID returned by a batch trigger.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ErrorTRIGGER_DEV_GET_ERRORAcción

Retrieve one Trigger.dev error group's message, occurrence history, affected versions, and resolution or ignore state.

Parámetros de entrada

  • error_idstringObligatorio

    Error-group ID returned by the error list; sent as errorId in the path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get RunTRIGGER_DEV_GET_RUNAcción

Retrieve 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_idstringObligatorio

    Run ID returned by a trigger or run-list response; sent as runId in the path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Run ResultTRIGGER_DEV_GET_RUN_RESULTAcción

Retrieve one run's compact success or failure result, including its encoded output or error and usage duration.

Parámetros de entrada

  • run_idstringObligatorio

    Run ID whose terminal result is needed; sent as runId in the path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ErrorsTRIGGER_DEV_LIST_ERRORSAcción

Return one forward page of Trigger.dev error groups, optionally filtered by task, version, status, text, or time window.

Parámetros de entrada

  • periodstring

    Trigger.dev relative time period filter.

  • searchstring

    Text to search for in error groups.

  • to_timestring

    Only 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_timestring

    Only include errors seen at or after this ISO 8601 date-time.

  • page_sizeinteger

    Number of error groups requested for this page; sent as page[size].

  • next_cursorstring

    Opaque 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List RunsTRIGGER_DEV_LIST_RUNSAcción

Return 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.

  • errorstring

    Error-group ID whose runs should be returned.

  • is_testboolean

    When set, include only test runs or only non-test runs.

  • statusesstring[]

    Run statuses to include.

  • versionsstring[]

    Deployment versions to include.

  • page_sizeinteger

    Number of runs requested for this page; sent as page[size].

  • created_tostring

    Only return runs created at or before this ISO 8601 date-time.

  • next_cursorstring

    Opaque next_cursor from a previous response. Omit for the first page; pass it back unchanged to fetch the next page.

  • schedule_idstring

    Only return runs created by this schedule.

  • created_fromstring

    Only return runs created at or after this ISO 8601 date-time.

  • bulk_action_idstring

    Only return runs associated with this Trigger.dev bulk-action ID.

  • created_periodstring

    Trigger.dev relative time period for run creation.

  • task_identifiersstring[]

    Task identifiers to include.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Trigger TaskTRIGGER_DEV_TRIGGER_TASKAcción

Start one run of a deployed Trigger.dev task and return the new run ID.

Parámetros de entrada

  • contextany

    Optional JSON-compatible context made available to the task run.

  • optionsobject

    Optional queueing, deduplication, timing, tagging, and machine settings.

  • payloadany

    JSON-compatible input payload for the task.

  • task_identifierstringObligatorio

    Identifier of the deployed task to run.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not