Skip to navigation

Poll async task status

Beta

Poll the status of the “Promote a ProcedureRunPlan into an active ProcedureRun” task.

Promote a procedure run plan into an active procedure run. The plan must not already be promoted. Returns an async task — poll the task endpoint for completion and the created procedure run ID

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

task_idstringRequired
ID of the asynchronous task to poll.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Response

OK
messagestring
statusenum
Allowed values:
resultobject or nullOptional
Output returned when promoting a procedure run plan to an active procedure run.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error