List RAG snapshots
GET /v1/datasets/{dataset}/snapshots
GET https://api.healthcare.dev/v1/datasets/{dataset}/snapshotsTeam plan (403 plan-upgrade-required below Team); never counts as a billable call. A dataset's RAG snapshots, newest first: each release as citable text chunks (chunks.jsonl.gz) plus a precomputed vector per chunk (embeddings.f32), with LICENSE.txt and a manifest listing every file's size and SHA-256. A snapshot is built when a release publishes; the newest three are kept. Get download links with /v1/datasets/{dataset}/snapshots/{version}. Only datasets whose terms allow redistribution have snapshots.
Requires an API key: Authorization: Bearer hdev_live_.... See Authentication.
Path parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
dataset | string | yes | Dataset id: one of hcpcs, icd10cm, icd10pcs, ndc, rxnorm | icd10cm |
Examples
curl
curl "https://api.healthcare.dev/v1/datasets/icd10cm/snapshots" \
-H "Authorization: Bearer $HDEV_API_KEY"TypeScript
const res = await fetch("https://api.healthcare.dev/v1/datasets/icd10cm/snapshots", {
headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();Python
import os
import requests
res = requests.get("https://api.healthcare.dev/v1/datasets/icd10cm/snapshots", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()Try it
Response
Snapshots, newest first
{
"data": [
{
"format": "hdev-rag-snapshot/1",
"dataset": "string",
"name": "string",
"version": "string",
"effective_date": "2026-10-01",
"published_at": "2026-10-24T12:00:00Z",
"created_at": "2026-10-24T12:00:00Z",
"records": 0,
"chunks": 0,
"embedding": {
"id": "string",
"dims": 1,
"dtype": "float32",
"byte_order": "little-endian",
"normalized": true,
"metric": "cosine",
"file": "string",
"rows": 0
},
"files": [
{
"path": null,
"bytes": null,
"sha256": null,
"content_type": null,
"gzip": null
}
],
"source": {
"source": "string",
"source_url": "string",
"source_sha256": "string",
"pipeline_version": "string"
},
"license": {
"license": "string",
"terms": {
"display": null,
"attribution": null,
"url": null
},
"file": "string"
},
"latest": true
}
],
"meta": {
"source": "cms-icd10",
"data_version": "2026.1",
"retrieved_at": "2026-10-24T12:00:00Z",
"license": "Public domain (CMS). Reference data, not medical advice."
},
"links": {
"self": "/v1/datasets/icd10cm/snapshots",
"next": "/v1/datasets/icd10cm/snapshots?cursor=eyJrIjoiRTExLjkifQ"
}
}Fields
| Field | Type | Always present | Description |
|---|---|---|---|
format | "hdev-rag-snapshot/1" | yes | |
dataset | string | yes | Dataset id, e.g. icd10cm |
name | string | yes | Dataset name |
version | string | yes | The release (data_version) |
effective_date | string | null (date) | yes | When the release takes effect |
published_at | string (date-time) | yes | When we published the release |
created_at | string (date-time) | yes | When the snapshot was built |
records | integer | yes | Active records in the release (retired records are left out) |
chunks | integer | yes | Lines in the chunks file: one per active record with text |
embedding | SnapshotEmbedding | yes | |
files | SnapshotFile[] | yes | Every file except the manifest itself, with its size and SHA-256 |
source | object | yes | Where the release came from, as in each response's meta |
license | object | yes | What you may do with the data; the same text is in LICENSE.txt |
latest | boolean | yes | True for the newest snapshot of the dataset |
Errors
Errors are application/problem+json (RFC 9457). Branch on type, not on title. See Errors.
| Status | type | When |
|---|---|---|
| 400 | invalid-request | A parameter or the body failed validation; errors lists each field. |
| 401 | unauthorized | Missing, malformed or revoked API key. |
| 403 | plan-upgrade-required | The plan doesn't include this feature; required_plan names the plan that does. |
| 404 | not-found | No record with that id (retired records are still returned). |
| 429 | rate-limited / quota-exceeded | Too many requests per second (retry after Retry-After), or the monthly quota is used up. |
| 503 | dataset-unavailable / unavailable | The dataset has no published version yet, or the service is degraded. |