Skip to main content
GET
List triggers

Authorizations

Authorization
string
header
required

Path Parameters

jobId
string
required

The unique identifier of the job that owns the trigger. Use the reserved value unattached to address triggers that are not attached to any job, which happens when a component defines a trigger whose parent_job_id expression evaluates to nothing.

Response

Successful response

Stored trigger definition. Field enabled is unevaluated and appears in buildtime-evaluatable form.

component_ids
string[]
required
component_references
object[]
required
enabled
required

Whether this trigger takes part in deciding when the job runs, as the buildtime expression or literal that was saved. Buildtime expressions use JobBuildtimeContext.

id
string
required
read-only

Unique id of the trigger.

parent_job_id
required

Id of the job this trigger belongs to, as the buildtime expression or literal that was saved. Buildtime expressions use JobBuildtimeContext.

trigger_type
enum<string>
required
Available options:
FILE_NAME_MATCHES
directory_path
required

Optional directory path prefix to match. Buildtime expressions use JobBuildtimeContext.

match_type
required

How the pattern is matched against filenames. A literal value or a buildtime expression resolved from component references when the trigger is saved. Buildtime expressions use JobBuildtimeContext.

Available options:
EXACT,
REGEX
pattern
required

Filename pattern to match. A literal value or a buildtime expression resolved from component references when the trigger is saved. Buildtime expressions use JobBuildtimeContext.

sftp_destination_id
required

Optional SFTP destination id to match. Buildtime expressions use JobBuildtimeContext.