👾API Reference Docs
Step 1: Get Token
Input object to obtain token
User's API username. Optional, defaults to user_api_email
[email protected]User's API password
password123Success
Success token response
Status of the request
successPossible values: HTTP status code
200Possible values: OAuth token for user
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Missing required fields
Unauthorized
Internal server error
Important Notes
Step 2. Search for a Patient (Optional)
Search Patient
Patient Search Input
OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Optional team API code resolved for the authenticated organization. Used to associate the patient search with a team.
defaultOverall search robustness level. Accepts Optimized, Thorough, Robust, or an integer from 1 to 100.
OptimizedWhen true, the downstream patient search pipeline also requests summarization work after the patient search is kicked off.
falseExample: trueFlag to indicate if this is a test request
falseExample: trueAt least one patient was successfully queued for processing
Request validation failed or all patient searches failed with client-side errors
Unauthorized
Internal server error or all patient searches failed with server-side errors
Test Patient Example
Important Notes
Retrieve Patient Documents
Input object to retrieve patient documents
Unique identifier associated with the request
550e8400-e29b-41d4-a716-446655440000OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Unique patient identifier (single ID or array of IDs)
9de61c87-b0ce-4d34-8785-dacb55408eea["patient123","patient456"]Flag to indicate if this is a test request
falseExample: trueAll documents successfully retrieved
Successful document retrieval response
Overall status of the request
HTTP status code
unique identifier associated with the request
whether processing is occurring
Documents still processing
Some documents retrieved, others failed or processing
Invalid request parameters
Unauthorized
Conversation_id not recognized
Internal server error
URL Retrieval and Directory Structure
Structure of the zipped folder
Output Document Information
Important Notes
Step 3. Bulk Document Upload (Optional)
Input Parameters
Upload Patient Documents Input - supports two modes (existing patient or new patient with metadata)
OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Optional conversation ID. If not provided, one will be generated
550e8400-e29b-41d4-a716-446655440000Existing patient ID (for Option 1)
9de61c87-b0ce-4d34-8785-dacb55408eeaDocuments successfully uploaded and processed
Successful document upload
Status of the request
successPossible values: HTTP status code
202Possible values: Unique identifier associated with the request
550e8400-e29b-41d4-a716-446655440000Patient ID
patient123Number of files successfully processed
3Whether processing is occurring
trueDocuments uploaded and processing started
Invalid request
Unauthorized
Patient not found
Internal server error
Step 4. Request a Summary (From Patient Search and/or From Bulk Upload Documents)
Input Parameters
Input object to request a conversation summary
OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Unique patient identifier
9de61c87-b0ce-4d34-8785-dacb55408eeaUnique identifier associated with the request
550e8400-e29b-41d4-a716-446655440000Flag to indicate if this is a test request
falseExample: trueProcessing started
Missing required fields
Unauthorized
Internal server error
Important Notes
Step 5. Retrieve a Summary
Input Parameters
Input object to retrieve a generated conversation summary
OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Unique identifier associated with the request
550e8400-e29b-41d4-a716-446655440000Unique patient identifier
9de61c87-b0ce-4d34-8785-dacb55408eeaFlag to indicate if this is a test request
falseExample: trueSummary ready
Successful summary retrieval response
Status of the request
successPossible values: HTTP status code
200Possible values: Unique identifier associated with the request
550e8400-e29b-41d4-a716-446655440000Unique patient identifier
patient123Presigned URL to download summary
https://s3.amazonaws.com/bucket/summary.json?AWSAccessKeyId=...URL expiration time in seconds
3600Possible values: Whether URL is posted
truePossible values: Whether processing is occurring
Summary still processing
Missing required fields
Unauthorized
Conversation_id not recognized
Internal server error
Format of cleaned_text_notes/
AI Summary Format
Important Notes
Step 6. Push Back Treatment Documents
Push a document
Push structured note data for CDA conversion and storage. Each summary item must include either patient_id or patient_metadata, and either summary_id or summary_edited.
OAuth token obtained from get-token route
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Flag to indicate if this is a test request
falseAll pushed documents completed successfully
All pushed documents completed successfully
Unique identifier associated with the request
UTC timestamp for when the response was generated
Combined message across pushed note results
Some pushed documents completed successfully while others failed
Validation failure
Unauthorized
Internal server error
Important Notes
Last updated

