Skip to content
Navigation

Preview or transfer one page of legacy automations

Walks the legacy automations one keyset page at a time. dryRun: true reports what each row would become and never writes; dryRun: false transfers the page and requires a stored readiness record. limit is 1-25 (default from the producer) and cursor takes the previous response's nextCursor.

POST
https://api.cloudraker.com/triggers/migrate-legacy
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • dryRun
    boolean
    required
  • limit
    optional
    integer
    maximum: 25 · minimum: 1
  • cursor
    optional
    string
    maxLength: 128

Returns

200

The producer record, proxied unchanged.

JSON
  • data
    object
    required
    • dryRun
      boolean
      required
    • handoffReady
      boolean
      required
    • readiness
      object
      or null
      required
      • gatewayRevision
        string
        required
        pattern: ^[a-f0-9]{40}$
      • verifiedClaimId
        string
        required
        maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$
      • verifiedWriteClaimId
        string
        required
        maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$
      • verifiedAt
        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))$
    • rows
      array of
      object
      required
      • automationId
        string
        required
      • status
        ready
        or
        migrated
        or
        blocked
        or
        archived
        required
      • triggerId
        optional
        string
        maxLength: 128 · pattern: ^trg_[A-Za-z0-9_-]+$
      • message
        optional
        string
      • nextRunAt
        optional
        string
        or null
        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))$
    • nextCursor
      string
      or null
      required

400

validation_failed: a request 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

403

forbidden — organization administrators only.
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

409

handoff_incomplete — no readiness record covers this transfer yet.
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

422

source_changed — the legacy source moved under the expected hash.
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