Authoritative specification for the Celly pull API used by laboratory information systems. English. Last updated: December 2026.
LIS pulls confirmed analysis results from Celly. Available on Standard and Enterprise plans. Interactive Swagger UI: https://celly.ai/docs/lis.
Use HTTP Basic Auth on every request: username = Organization ID password = Secret key Credentials are on https://celly.ai/organization (LIS Integration section).
null, empty arrays, and empty objects. Presence of images / marked cells / tiles is never required to consume primary results.count == 0 are omitted from cell_counts. Absence means zero / not observed — do not require a fixed list of category names.status=3 (Approved). The detail payload reflects physician corrections (human labels override AI) and the conclusion shown in the Celly UI.PATCH /api/lis/v1/analysis/{test_id} after successful ingest (sent_to_lis=true).Analysis type catalog (id, name). Pap liquid-based cytology is kind_id: 14.
Status catalog. Detail/list APIs only return statuses 2 (In Review), 3 (Approved), 4 (Rejected).
Paginated list. Query params:
page, page_size (default 20)sent_to_lis — true / falsekind — analysis kind id (use 14 for Pap)status — status id (use 3 for approved)curl -X GET "https://app.celly.ai/api/lis/v1/analysis?kind=14&status=3&sent_to_lis=false&page=1&page_size=20" \ -H "accept: application/json" \ -H "authorization: Basic $CREDENTIALS"
Full result payload for one analysis.
Same payload as GET, then sets sent_to_lis=true. Empty body.
Optional: create a pending analysis placeholder from LIS.
{
"kind_id": 14,
"description": "SLIDE-BARCODE-001",
"lis_id": "bregis-order-123"
}| Field | Type | Required | Null | Notes |
|---|---|---|---|---|
| test_id | integer | always | no | Celly analysis id |
| lis_id | string | null | always present | yes | LIS-side id if set on create; otherwise null |
| sent_to_lis | boolean | always | no | Delivery flag |
| created_at | string | always | no | Timestamp string |
| finished_at | string | null | always present | yes | May be null if unfinished |
| description | string | null | always present | yes | Usually slide / barcode id |
| conclusion | string | null | always present | yes | Physician conclusion (manual or auto shown in UI) |
| kind_id | integer | always | no | 14 = Pap (liquid-based) |
| status_id | integer | always | no | 2 / 3 / 4 in this API |
| user | string | always | no | Operator username |
| flags | object | if has_cells | no (object) | CBC morph flags; {} for Pap |
| snapshots | string[] | if has_cells | no | Flat URL list; may be [] |
| marked_cells | object[] | if has_cells | no | May be []; extra keys allowed |
| cell_counts | object | if has_cells | no | At least backend[]; zeros omitted |
| fields_of_view | number | optional | no | Present when known (Pap FOV count) |
| tiles | string[] | optional | no | Only if panorama/tiles exist |
Always required core fields: test_id, lis_id, sent_to_lis, created_at, finished_at, description, conclusion, kind_id, status_id, user.
For Pap and other cell-based kinds, also expect flags, snapshots, marked_cells, cell_counts. Treat tiles and fields_of_view as optional enrichment.
Quantitative indicators live in cell_counts.backend[] as objects { name, count, ratio?, images? }. English technical names:
| UI (RU) | API name | Location |
|---|---|---|
| Герпес | Herpes | cell_counts.backend |
| Грибы | Fungus | cell_counts.backend |
| Реактивные изменения | Reactive | cell_counts.backend |
| Ключевые клетки | Key Cell | cell_counts.backend |
| Метаплазия | Metaplasia | cell_counts.backend |
| Железистый эпителий | Glandular epithelium | cell_counts.backend |
| Артефакты | Artefact | cell_counts.backend |
| ASC-US/AGC | ASC-US/AGC | cell_counts.backend |
| ASC-H/AGC-FN | ASC-H/AGC-FN | cell_counts.backend |
| LSIL | LSIL | cell_counts.backend |
| HSIL/AIS | HSIL/AIS | cell_counts.backend |
| SSC/ADC | SSC/ADC | cell_counts.backend |
| Неклассифицированные клетки | Unclassified | cell_counts.backend |
| Норма (если есть клетки) | Normal | cell_counts.backend |
| Количество просмотренных полей зрения | fields_of_view | top-level number |
| Заключение врача | conclusion | top-level string|null |
cell_counts.backend. Missing name ⇒ count 0 / not found. Do not treat missing as API error.Total Neutrophils is CBC-only and must not be expected for Pap.flags for Pap is {}. CBC-only morphologic flags live under flags.wbc / flags.plt / flags.rbc.snapshots is a flat string[] of report image URLs (may be empty).marked_cells may be empty. When present, objects include at least name, comment, url; additional keys may appear and should be ignored if unused.{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://celly.ai/docs/lis-integration/analysis-detail.schema.json",
"title": "LisAnalysisDetail",
"type": "object",
"required": [
"test_id", "lis_id", "sent_to_lis", "created_at", "finished_at",
"description", "conclusion", "kind_id", "status_id", "user"
],
"properties": {
"test_id": { "type": "integer" },
"lis_id": { "type": ["string", "null"] },
"sent_to_lis": { "type": "boolean" },
"created_at": { "type": "string" },
"finished_at": { "type": ["string", "null"] },
"description": { "type": ["string", "null"] },
"conclusion": { "type": ["string", "null"] },
"kind_id": { "type": "integer" },
"status_id": { "type": "integer" },
"user": { "type": "string" },
"fields_of_view": { "type": "number" },
"tiles": {
"type": "array",
"items": { "type": "string", "format": "uri" }
},
"flags": {
"type": "object",
"additionalProperties": true
},
"snapshots": {
"type": "array",
"items": { "type": "string", "format": "uri" }
},
"marked_cells": {
"type": "array",
"items": {
"type": "object",
"required": ["name", "comment", "url"],
"properties": {
"name": { "type": "string" },
"comment": { "type": "string" },
"url": { "type": "string" }
},
"additionalProperties": true
}
},
"cell_counts": {
"type": "object",
"required": ["backend"],
"properties": {
"backend": {
"type": "array",
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": { "type": "string" },
"count": { "type": "number" },
"ratio": { "type": "number" },
"images": {
"type": "array",
"items": { "type": "string", "format": "uri" }
}
},
"additionalProperties": true
}
}
},
"additionalProperties": {
"type": "array",
"items": { "type": "object", "additionalProperties": true }
}
}
},
"additionalProperties": true
}{
"test_id": 58201,
"lis_id": null,
"sent_to_lis": false,
"created_at": "2026-11-20 09:12:01.000000+00:00",
"finished_at": "2026-11-20 09:28:44.000000+00:00",
"description": "PAP-100245",
"conclusion": "Normal",
"kind_id": 14,
"status_id": 3,
"user": "cytologist",
"flags": {},
"snapshots": [],
"marked_cells": [],
"fields_of_view": 42,
"cell_counts": {
"backend": [
{ "name": "Normal", "count": 120, "ratio": 85.7 },
{ "name": "Glandular epithelium", "count": 12, "ratio": 8.6 },
{ "name": "Artefact", "count": 8, "ratio": 5.7 }
]
}
}{
"test_id": 58255,
"lis_id": "bregis-7781",
"sent_to_lis": false,
"created_at": "2026-11-21 11:01:10.000000+00:00",
"finished_at": "2026-11-21 11:40:02.000000+00:00",
"description": "PAP-100310",
"conclusion": "LSIL",
"kind_id": 14,
"status_id": 3,
"user": "cytologist",
"flags": {},
"snapshots": [
"https://cdn.celly.ai/website/media/app/example-report-1.jpg"
],
"marked_cells": [
{
"name": "LSIL",
"comment": "koilocyte",
"url": "https://cdn.celly.ai/website/media/app/cell-1.jpg"
}
],
"fields_of_view": 55,
"cell_counts": {
"backend": [
{ "name": "Normal", "count": 80, "ratio": 61.5 },
{ "name": "LSIL", "count": 18, "ratio": 13.8 },
{ "name": "ASC-US/AGC", "count": 7, "ratio": 5.4 },
{ "name": "Reactive", "count": 10, "ratio": 7.7 },
{ "name": "Key Cell", "count": 5, "ratio": 3.8 },
{ "name": "Artefact", "count": 10, "ratio": 7.7 }
]
}
}Same schema. snapshots: [], marked_cells: []. Primary results remain in cell_counts + conclusion.
Counts and names already include human overrides. Prefer status_id == 3 so the LIS receives the approved final state.
GET /analysis?kind=14&status=3&sent_to_lis=false.GET /analysis/{test_id}.cell_counts.backend[*].name → LIS analytes (dictionary above).conclusion and optional fields_of_view.snapshots / marked_cells / flags / missing tiles.PATCH the same detail URL after successful write to LIS.Production: https://app.celly.ai. Organization credentials: /organization.