Skip to main content
POST
/
api
/
v2
/
async-results
/
sleep
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.async_results.sleep(
    delay=1,
)
print(response.async_result_id)
{
  "asyncResultId": "<string>"
}

Body

application/json
  • Option 1
  • Option 2
delay
number
required

The number of milliseconds to wait before completing the async result.

Required range: x > 0

Response

202 - application/json

Default Response

asyncResultId
string
required

The ID to track the asynchronous sleep operation.

I