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

X-API-KEYstringheaderrequiredX-ACCOUNT-IDstringheaderrequired

Path Parameters

codingIdstringrequired

ID of the coding analysis to retrieve

Example:

"coding_EXAMPLE123456789"

Response

200200400404application/json

Coding analysis result

Response containing the complete coding analysis results

data object

Data object containing the coding analysis and its results

Hide child attributes

data.id string

Unique identifier for the coding analysis request

Example:

"coding_EXAMPLE123456789"

data.statusenum<string>

Status of the coding analysis request

Available options:pending,processing,completed,failedExample:

"completed"

data.created_atstring

Timestamp when the request was created

Example:

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

data.updated_atstring

Timestamp when the request was last updated

Example:

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

data.processing_time_msnumber

Time taken to process the request in milliseconds

Example:

27340.929076

data.result object

Results of the coding analysis

Last updated