GET
/
api
/
v2
/
tasks
/
{taskId}
/
state
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
state = client.v2.tasks.state.get(
    "taskId",
)
print(state)
{}

Path Parameters

taskId
string
required

The unique identifier of the task to get the state of.

Response

200
application/json

The state of the task.