> For the complete documentation index, see [llms.txt](https://resources.abstractivehealth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.abstractivehealth.com/api-documentation/changelog.md).

# API Changelog

{% hint style="info" %}
**Added** — a new endpoint, parameter, or field\
**Changed** — existing behavior changed\
**Fixed** — a bug fix\
**Improved** — a quality-of-life improvement, no integration changes needed\
**Breaking** — requires a change to your existing integration
{% endhint %}

## 2026

### October 2026

**`Added`** — **October 13:** Search by EHR patient ID\
For organizations with a backend EHR integration, `/search-patient` accepts `patient_metadata.ehr_fhir_id`, the patient's FHIR Patient ID in your EHR (athenahealth: `a-{practiceid}.E-{patientid}`). Records are then pulled from the EHR for exactly that patient instead of a demographic match. Demographics are still required for the exchange search. If the ID isn't found, or belongs to another practice, the EHR pull is skipped and exchange results are still returned. Without a FHIR ID, you can send the patient's MRN as `demographics.mrn` (or `demographics.identifier`) to use it as the identifier in the EHR patient search.

**`Fixed`** — **October 1:** Test mode conversations no longer lost\
Test-mode (`"test": true`) requests could return `404` for a valid conversation after a server restart. Test-mode state is now stored durably.

### September 2026

**`Added`** — **September 24:** `team_api_code` on `/search-patient`\
`team_api_code` can be sent to choose the team a searched patient is associated with. It takes precedence over `api_code` when both are sent.

### August 2026

**`Changed` · `Breaking`** — **August 24:** Summarization required by default in patient search\
`summarize` now defaults to `true`. Requests that explicitly pass `false` are rejected with a `400` and instructions to contact support.

### July 2026

**`Fixed`** — **July 19:** Authentication reliability fix\
Fixed a bug causing spurious authentication failures on `/get-token` and related flows.

### May 2026

**`Added`** — **May 6:** `mode` parameter added to `/ask`\
New parameter (`direct` / `complex` / `auto`, defaulting to `auto`) lets you control how broadly a chart is searched. Manual overrides (`direct`, `complex`) require Q\&A Mode Selection to be enabled for your organization; without it, requests proceed with `auto` and the response includes a `mode_note`.

### April 2026

**`Changed`** — **April 28:** Patient-ID rate limiting is now org-aware\
Rate limiting on repeated patient searches now applies per organization as well as per user.

**`Added`** — **April 27:** New rate limiting on `/search-patient`\
Repeated searches for the same patient ID within an hour now return **`429 Too Many Requests`**, with the affected patient IDs listed in `rate_limited_patients`.

**`Added`** — **April 21–24:** Question & Answering and Care Notifications API launched\
Initial release of a new API surface for asking questions over a patient's chart and configuring clinical alerts:

* **Q\&A:** `/ask`, `/list-conversations`, `/get-conversation`
* **Care Notifications:** `/create-alert`, `/edit-alert`, `/list-alerts`, `/list-alert-events`, `/get-alert-event`, `/delete-alert`, `/run-alerts`, `/set-webhook`, `/get-webhook`

`/list-alert-events` supports filtering and pagination (`created_after`, `alert_id`, `triggered`, `limit`, `offset`), and notification results include supporting chart data.

### March 2026

**`Fixed`** — **March 18:** Improved summary status accuracy\
Summary status now more accurately reflects "in progress" vs. "completed" states across all supported EHR sources.

### February 2026

**`Added`** — **February 24:** Document download URL added to summaries\
Summary retrieval responses now include a time-limited download URL for a ZIP of the patient's source documents.

**`Added`** — **February 24:** Note-source tracking added to summaries\
Summary responses now include source note counts, a `summary_id`, and identifiers for the underlying source notes (Carequality/FHIR/non-text).

## 2025

### November 2025

**`Improved`** — **November 20:** Background zipping for document retrieval\
Large patient document retrieval no longer blocks the request; the endpoint returns a "processing" status while zipping happens asynchronously.

**`Added`** — **November 14:** Summary retrieval by patient ID\
`/retrieve-summary` can now be called with just `patient_id` — `conversation_id` is now optional, returning the latest completed summary if omitted.

**`Added`** — **November 14:** Scoring status added to summary retrieval\
A new `PROCESSING` status surfaces whether quality scoring is still being generated alongside the summary.

**`Added`** — **November 3:** Edited-note metadata added to summaries\
Summary retrieval now includes editor name/email and edit timestamp when a note has been manually edited.

### October 2025

**`Fixed`** — **October 30:** Summary validation improvements\
Clearer validation errors when neither `summary_edited` nor `summary_id` is provided. Added JSON-format support for `summary_edited`.

**`Fixed`** — **October 24:** Failed-summary handling\
`/retrieve-summary` now returns a proper error response with details when summary generation has failed, instead of an ambiguous state.

**`Changed`** — **October 23:** Summary validation logic updated\
`summary_id` is no longer unconditionally required; validation now branches on which of `summary_id` / `summary_edited` is present and the declared `summary_format`.

**`Improved`** — **October 3:** Clearer document upload responses\
Upload responses now indicate whether a new note was pushed or one already existed.

**`Added`** — **October 1:** `author` parameter added to document push\
`/push-document` requests now accept and propagate an `author` field for attribution and traceability.

### August 2025

**`Improved`** — **August 28:** Async document push\
`/push-document` now processes pushes as a background task instead of blocking the request until complete.

**`Improved`** — **August 27:** Richer authentication error responses\
Authentication errors now carry a custom status code and additional detail fields to improve client-side error handling.

**`Changed` · `Breaking`** — **August 19:** Summary retrieval returns JSON directly\
Summary retrieval now returns JSON directly instead of a ZIP of S3 objects, changing how clients should parse the response.

**`Changed`** — **August 14:** `/push-document` validation and response overhaul\
Stricter validation of summary/patient identifiers; consistent response shape indicating success or failure. Test-mode requests now return a simulated success without invoking the real pipeline.

**`Fixed`** — **August 7:** Timeout handling for summary generation\
Summary requests exceeding 15 minutes now return a proper timeout error response instead of hanging.

### July 2025

**`Added`** — **July 30:** `summary_id` support added to summary request/retrieval\
Clients can now pass a `summary_id` to request and retrieve a specific summary.

**`Added`** — **July 24:** `patient_id` accepted as a list; response format overhaul\
Patient endpoints updated to accept `patient_id` as a list rather than a single value, with partial-success handling in responses when some patients succeed and others fail.

**`Added`** — **July 23:** `pid` field added to patient search responses\
All patient response payloads gained a `pid` field for consistency.

### June 2025

**`Changed`** — **June 25–26:** Error standardization and summary flow improvements\
Errors across `/get-token` and `/search-patient` standardized into a consistent format. `username_api` is no longer required — it now defaults to `user_api_email` when omitted. Document uploads (CDA/FHIR) now retry automatically on partial failure, and failed files are reported back to the caller.

**`Fixed`** — **June 5:** Document retrieval preserves folder structure\
Retrieved-document ZIP downloads now preserve the original subfolder structure instead of flattening files, avoiding filename collisions.

### April 2025

**`Added`** — **April 14:** Multi-patient support in search and summarization\
`/search-patient` and `/request-summary` now accept a list of `patient_id`s in a single request instead of one at a time.

**`Added`** — **April 9:** Document push: note ID and format type\
`/push-document` payload updated to include a note ID and summary format type.

**`Changed`** — **April 8:** `patient_metadata` validation introduced\
New structured validation of `patient_metadata` on upload/search flows.

## 2024

### November 2024

**`Changed` · `Breaking`** — **November 8:** `gender` now required in patient metadata\
`gender` added as a required field in the patient JSON schema for uploads.

**`Added`** — **November 6:** `/push-document` endpoint launched\
Initial release of the document push-back endpoint, allowing clients to push generated summaries/notes back to the source EHR.

### September 2024

**`Added`** — **September 25:** FHIR input support added\
The API can now accept FHIR-formatted documents as input, in addition to CDA.
