Workflow-run
Task
Document
- GETDocument metadata
- GETFull document details
- GETDocument CSV content
- POSTUnzip file and return PDFs
- POSTGenerate CSV document
- POSTPresigned URL for upload
- POSTClassify document (async)
- POSTSplit document (async)
- POSTCreate documents from splits
- POSTLegacy extract document (async)
- POSTDocument extraction (async)
- POSTRender document body
- POSTGenerate document from template (async)
- POSTTransform JSON to HTML
- POSTDocument reasoning (async)
- POSTSearch across documents
Async-result
Communication
Clearinghouse
Ledger
Integration - Snowflake
Workflow-run
Step output
Retrieves the output data of a specific step within a workflow run. This endpoint requires an ExecuteStepRequestContext with workflowRunId
and stepAddr
.
GET
/
api
/
v2
/
workflow-runs
/
step
/
{stepId}
/
output
Copy
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.step.get_output(
"stepId",
)
print(response.output)
Copy
{
"output": "<any>"
}
Path Parameters
The unique identifier of the workflow step.
Response
200
application/json
Successfully retrieved step output data.
Copy
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.step.get_output(
"stepId",
)
print(response.output)
Copy
{
"output": "<any>"
}
Assistant
Responses are generated using AI and may contain mistakes.