Poll a pipeline run

Returns the status of a run started via invoke, including outputs once the run completes.

get/api/pipelines/{id}/invoke

Request

  • Base URL: https://www.trezalabs.com
  • URL: https://www.trezalabs.com/api/pipelines/{id}/invoke
  • Auth: HTTP bearer

Path parameters

idstring required

Pipeline id

Query parameters

runIdstring required

Run id returned by the invoke call

Response

Run status

runIdstring
statusstring

running, succeeded, failed, or cancelled

outputsobject

Values keyed by the pipeline's output contract, present once the run succeeds. Media outputs are returned as URLs.

errorstring

Changes

No recorded changes to this operation across all 1 revision of this API.