Skip to main content
POST
/
api
/
v2
/
workflow-runs
/
resume-when-complete
Python
import os
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key=os.environ.get("SAMPLEHC_API_KEY"),  # This is the default and can be omitted
)
response = client.v2.workflow_runs.resume_when_complete(
    async_result_id="asyncResultId",
)
print(response.message)
{
  "message": "<string>"
}

Body

application/json
asyncResultId
string
required

The unique identifier of the asynchronous result to monitor before resuming.

priority
enum<string>
default:background

Queue priority for the resume request. Use 'interactive' to resume sooner for user-visible workflows. Defaults to 'background'.

Available options:
interactive,
background

Response

Request accepted, processing to resume workflow has been initiated.

Request accepted, processing to resume workflow has been initiated.

message
string
required

A message indicating the request has been accepted for processing.