The Hermes Health API

Run the whole workflow over a JSON REST API: create a project, add a patient, start a search, request records from the facilities it finds, and download what comes back.

A typical integration

StepCall
Create a projectPOST /v0/companies/{id}/projects
Add a patient and start Site SonarPOST .../patients with "siteSonar": true
Wait for the searchPoll the patient or subscribe a webhook
Read the visitsPOST /v0/visits/browse
Request recordsPOST .../patients/{id}/record-requests
Download the documentsGET the request and follow its deliverables

Each step has a guide in the API docs.

# Read the visits Site Sonar found for one patient
curl https://api.hermeshealth.ai/v0/visits/browse \
  -H "Authorization: Bearer $HERMES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "where": {
      "patient": { "id": [{ "equals": "'$PATIENT'" }] }
    },
    "orderBy": [
      { "visit": { "earliestServiceDate": "asc" } }
    ]
  }'

What ships with the API

Sandbox projects

Searches finish against sample data in about 30 seconds, and record requests complete with a stub document. Build the whole flow before you contact a real facility. Sandbox and production keys are separate.

Webhooks

Subscribe to named events, such as a record request changing status or a search finishing, and receive a signed delivery for each. Set up endpoints in Settings. Hermes retries failed deliveries.

One query syntax

Visits, diagnoses, procedures, prescription fills, lab results, and record requests all take the same filter, sort, and aggregate body. Ask for text/csv and leave out take to export every matching row.

Embeddable views

Drop the Auth Checker, the site finder, or a patient's clinical data into your own product as an iframe instead of building the UI.

Auth Checker on any document

Upload a signed authorization and read each check as JSON, without creating a patient or a project.

Machine-readable docs

An OpenAPI 3.1 document, plus llms.txt and llms-full.txt for coding agents. Changes are listed in the changelog.

Get an API key

Sign up with your work email and generate an API key in Settings. Your account joins your company when the company has registered your email domain with us and chosen a default role for new accounts. You need a company account to create projects and patients. If your company isn't set up yet, talk to us first.

Use Hermes from an AI assistant

Connect Claude or any other assistant that supports MCP, then ask for what you need in plain English: whether a patient has been to a particular hospital system, the requests that need a follow-up this week, or what a delivered chart says about a 2023 surgery. The assistant acts as you, with only the access you grant when you connect it.

Anything that costs money comes back as a quote first, and the assistant has to ask you before it goes ahead. Each connection gets its own spending budget and expiry date, can be limited to sandbox data, and can be revoked from Settings. Before an assistant reads production data, Hermes asks you to confirm that what it reads goes to its model provider.

The server is at https://hermeshealth.ai/mcp, and we turn it on for each company. Ask us to enable it for yours.