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
- GETPDF template document metadata
Async-result
Communication
Clearinghouse
Ledger
- POSTCreate new ledger order
- POSTPost patient adjustment
- POSTPost institution adjustment
- POSTPost claim adjustment
- POSTPost claim payment
- POSTPost patient payment
- POSTPost institution payment
- POSTPost order write-off
- POSTPost invoice assignment
- POSTReverse a ledger entry
- GETGet outstanding institutional orders
Integration - Snowflake
Dashboard
Async-result
Sleep (async)
Creates an async result that will automatically resolve after a specified delay or at a future time.
POST
/
api
/
v2
/
async-results
/
sleep
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.asyncResults.sleep({ delay: 1 });
console.log(response.asyncResultId);
Copy
{
"asyncResultId": "<string>"
}
Body
application/json
Response
202 - application/json
Default Response
The response is of type object
.
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.asyncResults.sleep({ delay: 1 });
console.log(response.asyncResultId);
Copy
{
"asyncResultId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.