curl --request GET \
--url https://api.sully.ai/v1/codings/{codingId} \
--header 'X-ACCOUNT-ID: <api-key>' \
--header 'X-API-KEY: <api-key>'{
"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"
}
}
]
}
}
}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>'{
"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"
}
}
]
}
}
}ID of the coding analysis to retrieve
"coding_EXAMPLE123456789"
Coding analysis result
Response containing the complete coding analysis results
Data object containing the coding analysis and its results
Show child attributes
Unique identifier for the coding analysis request
"coding_EXAMPLE123456789"
Status of the coding analysis request
pending, processing, completed, failed "completed"
Timestamp when the request was created
"2025-05-08T15:07:54.984Z"
Timestamp when the request was last updated
"2025-05-08T15:08:22.499Z"
Time taken to process the request in milliseconds
27340.929076
Results of the coding analysis
Show child attributes
List of diagnoses identified in the text
Show child attributes
Unique identifier for the diagnosis within the response
"diagnosis-example-1"
Show child attributes
Show child attributes
Coding system identifier
"http://hl7.org/fhir/sid/icd-10-cm"
Code value from the specified system
"I10"
Human-readable representation of the code
"Essential (primary) hypertension"
[
{
"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"
}
]Plain text representation of the diagnosis
"Hypertension"
Show child attributes
Starting character position in the original text
1022
Ending character position in the original text
1039
The actual text from the transcript
"slightly elevated"
List of procedures identified in the text
Show child attributes
Unique identifier for the procedure within the response
"procedure-example-1"
Show child attributes
Show child attributes
Coding system identifier
"http://www.ama-assn.org/go/cpt"
Code value from the specified system
93000
Human-readable representation of the code
"Electrocardiogram, routine ECG with at least 12 leads; with interpretation and report"
Plain text representation of the procedure
"EKG"
Show child attributes
Starting character position in the original text
2124
Ending character position in the original text
2127
The actual text from the transcript
"EKG"