ChartVoyant Developers
Markdown

ChartVoyant Developer Documentation

Build on the chart

Connect clinical apps, AI agents, lab and hospital feeds, population-health pipelines, and practice tools to ChartVoyant. Every capability below documents its real endpoints, authentication, limits, and production status.

Choose how to integrate

ChartVoyant exposes two main integration models — tenant-scoped API keys for practice and AI-agent workflows, and standards-based SMART on FHIR R4 with zero fees — alongside dedicated interfaces for HL7 v2 feeds, patient-controlled MCP keys, and complete record exports.

Make your first request

Request a self-serve sandbox key in about a minute — it provisions your own isolated synthetic office for 14 days with read and write access and zero real patient data — then query the REST API or attach an MCP client:

# Sandbox: synthetic patients only
curl "https://chartvoyant.com/api/v1/patients?limit=5" \
  -H "Authorization: Bearer $CHARTVOYANT_API_KEY" \
  -H "X-Purpose: operations"

All capabilities directory

Live means the surface answers in production today. Capabilities gated per interface, per app, or in beta/synthetic mode say so explicitly. ChartVoyant is in ONC testing with Drummond Group and is not yet CHPL-listed.

CapabilityStatusAuthEndpoint / Format
REST API
Tenant-scoped JSON contract for practice records
Livecvk_… API keyhttps://chartvoyant.com/api/v1
OpenAPI 3.1 Contract
Machine-readable JSON contract & event envelopes
LivePublicGET https://chartvoyant.com/api/openapi.json
Practice MCP Server
28 read + 8 scheduling/inbox tools for AI agents
Livecvk_… API keyPOST https://chartvoyant.com/api/v1/mcp
Patient MCP Server
10 read-only tools for a patient's own AI assistant
Livecvpk_… patient keyPOST https://chartvoyant.com/api/v1/portal/mcp
SMART on FHIR-4 Guide
End-to-end standardized API reference & Inferno runs
Live ONC in progressSMART OAuth 2https://fhir.chartvoyant.com/r4/{practice}
FHIR R4 API
27 US Core 6.1 resource types, $everything, $docref
Live ONC in progressSMART tokenhttps://fhir.chartvoyant.com/r4/{practice}
SMART App Launch 2
Patient standalone, clinician standalone & EHR launch
Live ONC in progressOAuth 2 + PKCE S256https://auth.chartvoyant.com/oauth/authorize
SMART Backend Services
System-to-system access via RS384/ES384 assertions
Live ONC in progressprivate_key_jwtPOST https://auth.chartvoyant.com/oauth/token
Bulk Data Export 2.0
Asynchronous Group-level NDJSON export
Live Group-levelBackend tokenGET {base}/Group/{id}/$export
SMART Write
7 writable FHIR types; clinician review before chart
New Per practice & appSMART .c/.u tokenPOST {base}/{Type}
Practice Endpoint Directory
FHIR Bundle of active customer FHIR base URLs
Live PublicNoneGET https://chartvoyant.com/fhir/service-base-urls.json
HL7 v2 Interfaces
ORU^R01 lab/rad results & ADT over HTTPS
New Per interfaceHL7 sender key or system/hl7v2-ingestPOST /api/v1/interop/hl7/{interfaceId}
FHIR Write to Other Systems
ChartVoyant as a FHIR R4 client sending Observations
New Synthetic modeprivate_key_jwt RS384POST {your base}/Observation
C-CDA Documents
On-demand Continuity of Care Document XML
Beta Export onlySMART token or API keyGET {base}/Patient/{id}/$ccd
Complete EHI Export (v2.0)
Designated record set archive + frozen schema v1
Live ONC in progressIn-app admin + 2FAschema-v1.json · sample ZIP
Public Status API
PHI-free JSON health & practice lookup
Live PublicNoneGET https://chartvoyant.com/api/v1/system/status
athenaOne Chrome Extension
In-browser patient banner bridge for GLP-1 workflows
LiveStaff session + pinned extension IDDownload & install

Two primary authentication doors

The ChartVoyant API and the standards-based FHIR API are separate front doors with separate terms. See Authentication & Credentials for full header and token details.

DimensionChartVoyant API KeySMART on FHIR
Used forREST API, Practice MCP, CCD over RESTFHIR R4, Bulk Data, SMART Write, CCD over FHIR
CredentialBearer key cvk_… bound to one practice (patients use cvpk_… on Patient MCP)OAuth 2 access tokens after patient, clinician, or practice authorization
Reads & writesread_only or full, set when issuedRead and search across 27 US Core types; clinician-reviewed SMART write per practice & app
HL7 v2 feedsDedicated HL7 sender key bound to one interfaceBackend client granted system/hl7v2-ingest
Terms & costSandbox Terms; production requires signed API Use Agreement + BAA with practice (35% commercial profit share)Public terms in the SMART on FHIR-4 guide — no fee and no revenue share

Sandbox vs production with an API key

Start in the sandbox with a one-minute self-serve form and zero paperwork. When a live practice sponsors your integration, follow the production onboarding checklist.

Sandbox

Build against synthetic data

https://chartvoyant.com/api/v1

  • Your own key, issued on the spot from a short form. Not shared with other developers. Good for 14 days.
  • Full read and write on synthetic patients in your own isolated sandbox office.
  • Cannot reach any real practice or anyone else's sandbox, and nothing leaves it: no faxes, texts, calls, emails, prescriptions, claims, or outbound sends. No PHI, no BAA, no signature.
  • Works directly with the Practice MCP server so you can test AI agents safely first.
  • Agree to the ChartVoyant Sandbox Terms when you request it.
Request a sandbox key
Production

Connect to a live practice

https://chartvoyant.com/api/v1

  • Bound to one practice, at an explicit access level and expiry set at issuance.
  • The sponsoring practice confirms the request — it is their data, not ours to hand out.
  • A signed API Use Agreement on file before issuance, signed online at e-sign.chartvoyant.com/apiuseagreement.
  • An executed Business Associate Agreement (BAA) between you and the practice (plus a qualifying Model Provider BAA if an AI agent touches Data).
View onboarding process

Rate limits at a glance

Over-budget calls return HTTP 429 with a Retry-After header. Higher limits carry no fee — see Rate Limits & Error Codes for full details and error envelopes.

ScopeBurstSustained
API key, per key150 requests / second3,600 requests / minute
API key, per practice (all keys and staff sessions)400 requests / second12,000 requests / minute
FHIR, per token300 requests / second9,000 requests / minute
FHIR, per practice600 requests / second18,000 requests / minute
Self-serve sandbox key, per key (also 5,000 / day)38 requests / second900 requests / minute

Usage policy & sandbox terms

Sandbox keys are governed by the ChartVoyant Sandbox Terms (version 1.0). Production API keys are governed by the 14-point API key usage policy and the ChartVoyant API Use Agreement (version 1.2), including server-side secret storage, minimum-necessary data access, no model training or shadow charts, 35% profit share on commercialized products built on the proprietary API, and strict Model Provider BAA requirements for AI agents.

Not available yet

Not available yet
Outbound webhooks

There are no developer webhooks or event subscriptions yet. Poll the REST API or run incremental Bulk Data exports with _since.

Not available yet
MCP OAuth sign-in

Practice MCP takes a cvk_… bearer key; Patient MCP takes a cvpk_… key or URL path token. Interactive OAuth for MCP clients is not yet built.

Not available yet
HL7 over MLLP or SFTP

HL7 v2 arrives over HTTPS only. MLLP over VPN/TLS and SFTP file pickup are not offered.

Frequently asked questions

Should I use a ChartVoyant API key or SMART on FHIR?

Use an API key if you need practice scheduling, inbox workflows, billing context, or Practice MCP tools. Use SMART on FHIR if you are building a patient-facing app, a clinician launch app, or a population Bulk Data integration — it is free, standards-based, and carries no revenue share.

Can I get a production key without a sponsoring practice?

No. Every production key is bound to one practice that confirms the integration. Build and demo against a self-serve synthetic sandbox key first.

Can I connect Claude Code or another AI agent?

Yes — via the Practice MCP server for practice workflows (sandbox today; production requires version 1.2 of the API Use Agreement and a Model Provider BAA covering MCP/tool traffic), or via the Patient MCP server for patients connecting their own record.

Where do I report a security vulnerability?

Email info@chartvoyant.com with reproduction details. Never test against a live practice.