from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
state = client.v2.tasks.state.get(
"taskId",
)
print(state)
{}
Retrieves the state of a task. This is typically used for tasks that need to persist state across multiple requests.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
state = client.v2.tasks.state.get(
"taskId",
)
print(state)
{}
The unique identifier of the task to get the state of.
The state of the task.