Skip to content
Navigation

Read trigger history

GET
https://api.cloudraker.com/triggers/{triggerId}/runs
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • triggerId
    string
    required
    maxLength: 128 · pattern: ^trg_[A-Za-z0-9_-]+$

Query parameters

  • limit
    optional
    integer
    maximum: 100 · minimum: 1 · default: 50
  • cursor
    optional
    string
    maxLength: 128

Returns

200

One page of trigger runs.

JSON
  • data
    array of
    object
    required
    • status
      opened
      or
      busy
      or
      needs_input
      or
      blocked
      or
      error
      required
    • id
      string
      required
    • triggerId
      string
      required
      maxLength: 128 · pattern: ^trg_[A-Za-z0-9_-]+$
    • kind
      schedule
      or
      webhook
      or
      email
      or
      manual
      required
    • receivedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • completedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • sessionId
      optional
      string
      maxLength: 128 · minLength: 1
    • message
      optional
      string
      maxLength: 1000
  • nextCursor
    string | null
    required

400

validation_failed: a request parameter or body field is invalid.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

not_found — No such trigger, or the caller may not see it.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close