---
title: "Get a coding analysis by ID"
method: GET
path: "/v1/codings/{codingId}"
tags: ["Codings"]
---

# Get a coding analysis by ID

`GET /v1/codings/{codingId}`

Retrieves a coding analysis result by ID

## Path parameters

- `codingId` string, required

## Response `200`

Coding analysis result

- GetCodingResponse — Response containing the complete coding analysis results
  - `data` object — Data object containing the coding analysis and its results
    - `id` string — Unique identifier for the coding analysis request
    - `status` 'pending' | 'processing' | 'completed' | 'failed' — Status of the coding analysis request
    - `created_at` string, date-time — Timestamp when the request was created
    - `updated_at` string, date-time — Timestamp when the request was last updated
    - `processing_time_ms` number — Time taken to process the request in milliseconds
    - `result` object — Results of the coding analysis
      - `diagnoses` CodingDiagnosis[] — List of diagnoses identified in the text
        - `id` string — Unique identifier for the diagnosis within the response
        - `code` object
          - `coding` object[]
            - `system` string — Coding system identifier
            - `code` string — Code value from the specified system
            - `display` string — Human-readable representation of the code
          - `text` string — Plain text representation of the diagnosis
        - `text_span` object
          - `start_char` integer — Starting character position in the original text
          - `end_char` integer — Ending character position in the original text
          - `text` string — The actual text from the transcript
      - `procedures` CodingProcedure[] — List of procedures identified in the text
        - `id` string — Unique identifier for the procedure within the response
        - `code` object
          - `coding` object[]
            - `system` string — Coding system identifier
            - `code` string — Code value from the specified system
            - `display` string — Human-readable representation of the code
          - `text` string — Plain text representation of the procedure
        - `text_span` object
          - `start_char` integer — Starting character position in the original text
          - `end_char` integer — Ending character position in the original text
          - `text` string — The actual text from the transcript

## Other responses

- `400` — Invalid request
- `404` — Coding analysis not found

---

[API](https://skmtc.net/sullyai/apis/sully-api.md) · [All operations](https://skmtc.net/sullyai/apis/sully-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sullyai/sully-api/revisions/a6ecf503233c/schema)
