API/Get Coding

Codings

Get Coding

Retrieves a coding analysis result by ID

curl --request GET \
  --url https://api.sully.ai/v1/codings/{codingId} \
  --header 'X-ACCOUNT-ID: <api-key>' \
  --header 'X-API-KEY: <api-key>'

Copy

{
  "data": {
    "id": "coding_EXAMPLE123456789",
    "status": "completed",
    "created_at": "2025-05-08T15:07:54.984Z",
    "updated_at": "2025-05-08T15:08:22.499Z",
    "processing_time_ms": 27340.929076,
    "result": {
      "diagnoses": [
        {
          "id": "diagnosis-example-1",
          "code": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/sid/icd-10-cm",
                "code": "I10",
                "display": "Essential (primary) hypertension"
              },
              {
                "system": "http://snomed.info/sct",
                "code": "59621000",
                "display": "Essential hypertension"
              }
            ],
            "text": "Hypertension"
          },
          "text_span": {
            "start_char": 1022,
            "end_char": 1039,
            "text": "slightly elevated"
          }
        }
      ],
      "procedures": [
        {
          "id": "procedure-example-1",
          "code": {
            "coding": [
              {
                "system": "http://www.ama-assn.org/go/cpt",
                "code": 93000,
                "display": "Electrocardiogram, routine ECG with at least 12 leads; with interpretation and report"
              }
            ],
            "text": "EKG"
          },
          "text_span": {
            "start_char": 2124,
            "end_char": 2127,
            "text": "EKG"
          }
        }
      ]
    }
  }
}

Authorizations

arrow-up-rightX-API-KEYstringheaderrequiredarrow-up-rightX-ACCOUNT-IDstringheaderrequired

Path Parameters

arrow-up-rightcodingIdstringrequired

ID of the coding analysis to retrieve

Example:

"coding_EXAMPLE123456789"

Response

200200400404application/json

Coding analysis result

Response containing the complete coding analysis results

arrow-up-rightdata object

Data object containing the coding analysis and its results

chevron-rightHide child attributeshashtag

arrow-up-rightdata.id string

Unique identifier for the coding analysis request

Example:

"coding_EXAMPLE123456789"

arrow-up-rightdata.statusenum<string>

Status of the coding analysis request

Available options:pending,processing,completed,failedExample:

"completed"

arrow-up-rightdata.created_atstring

Timestamp when the request was created

Example:

"2025-05-08T15:07:54.984Z"

arrow-up-rightdata.updated_atstring

Timestamp when the request was last updated

Example:

"2025-05-08T15:08:22.499Z"

arrow-up-rightdata.processing_time_msnumber

Time taken to process the request in milliseconds

Example:

27340.929076

arrow-up-rightdata.result object

Results of the coding analysis

arrow-up-right

Last updated