List patient documents
curl --request GET \
--url https://api.healos.ai/ext-api/v1/patients/{patientId}/documents \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.healos.ai/ext-api/v1/patients/{patientId}/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/patients/{patientId}/documents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
"filename": "intake_form_maria_santos.pdf",
"file_type": "pdf",
"file_size": 245760,
"public_url": "<string>",
"upload_date": "2026-03-20T11:15:00.000Z",
"status": "pending",
"extracted_date": "2026-03-20T11:16:00.000Z",
"extraction_error": "No text could be extracted from the PDF",
"extraction_deferred": false,
"has_extracted_text": true,
"extracted_text_length": 2048,
"external_id": "PARTNER-DOC-456"
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}Documents
List patient documents
Retrieve documents for a specific patient. Pass external_id=<value> to look up a single document by caller-supplied external_id (returns 404 if not found).
Use this to poll a document’s extraction progress after upload: status moves pending → processing → completed (or failed), and has_extracted_text/extracted_text_length indicate whether extracted text is available (the text content itself is not returned).
GET
/
patients
/
{patientId}
/
documents
List patient documents
curl --request GET \
--url https://api.healos.ai/ext-api/v1/patients/{patientId}/documents \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.healos.ai/ext-api/v1/patients/{patientId}/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.healos.ai/ext-api/v1/patients/{patientId}/documents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
"filename": "intake_form_maria_santos.pdf",
"file_type": "pdf",
"file_size": 245760,
"public_url": "<string>",
"upload_date": "2026-03-20T11:15:00.000Z",
"status": "pending",
"extracted_date": "2026-03-20T11:16:00.000Z",
"extraction_error": "No text could be extracted from the PDF",
"extraction_deferred": false,
"has_extracted_text": true,
"extracted_text_length": 2048,
"external_id": "PARTNER-DOC-456"
}
]
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Rate limit exceeded. Please retry after the window resets.",
"code": "daily_cap_reached",
"reset_at": "2026-10-28T00:00:00.000Z"
}| Requirement | Detail |
|---|---|
| Scope | documents:read |
| Rate limit | About 60 requests per minute per API key (shared by all endpoints; approximate) |
| Cost | Free |
Safety
- Writes data: No
- Safe to retry: Yes
- Contacts an outside system: None
- Dry run: Not needed (read-only).
Query Parameters
Was this page helpful?

