v1
latestOpenAPI 3.1.02026-07-2676188241.3 KBCodes (Legacy)
Generate Codes
Limited Access - Contact us for more information<br/><br/>Generate codes within the context of an interaction.<br/><Note>This endpoint is only accessible within specific customer tenants. It is not available in the public API.<br/><br/>For stateless code prediction based on input text string or documentId, please refer to the Predict Codes API, or contact us for more information.</Note>
post/interactions/{id}/codes/
Path parameters
idstring uuid required
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
The unique identifier of the interaction. Must be a valid UUID.
Headers
Tenant-Namestring required
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
Example:base
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
Request body
Example request
{
"modelName": "\"geography_modelName (Latest)\" | \"geography_modelName_version\""
}Response
List of predicted codes.
Example response
{
"codes": [
{
"system": "ICD-10",
"code": "T933",
"additionalCodes": [
{
"subsetName": "orsakskoder",
"code": "W0231"
}
]
}
]
}