Decide on a transformation run step

Records a reviewer's decision on a step that is awaiting_approval and applies the
corresponding status changes to the step's draft input assets

  • approve: The step succeeds and the run resumes. Asset versions listed in
    approved_asset_version_ids move to ready. Other draft inputs remain in draft.
  • reject: The step and run fail. All draft inputs move to disabled.
  • regenerate: The step succeeds and the run resumes with a fresh attempt. All draft
    inputs move to disabled. Use additional_context to guide the regeneration. Asset versions listed in regenerate_input_asset_version_ids are used as inputs for the new attempt. If none are provided, the predecessor step's inputs are reused.
Path Params
string
required
length between 8 and 8

Unique alphanumeric ID of the site

string
required
length between 8 and 8

Unique alphanumeric ID of a single step within a transformation run

Body Params

Request body for deciding on a transformation run step

string
enum
required

Reviewer decision recorded on a human-in-the-loop review step

Allowed:
string
length between 8 and 8

ID of the user or resource recording the decision

approved_asset_version_ids
array of objects

Asset version IDs to approve

Used with the approve decision; the listed draft versions move to ready.

approved_asset_version_ids
regenerate_input_asset_version_ids
array of objects

Asset version IDs to use as the regenerated step's input

Use this with the regenerate decision. Listed versions become the
regenerated step's input.

regenerate_input_asset_version_ids
additional_context
object

Extra context to steer a regenerate decision

Only valid when decision is regenerate.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© 2007- Longtail Ad Solutions, Inc.