Skip to main content
POST
Generate Codes

Authorizations

Authorization
string
header
required

Input your token

Headers

Tenant-Name
string
required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"base"

Path Parameters

id
string<uuid>
required

The unique identifier of the interaction. Must be a valid UUID.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Body

application/json
modelName
string
required

The model name used for code predictions

Example:

"\"geography_modelName (Latest)\" | \"geography_modelName_version\""

context
object
required

Context object containing type and data

existingCodes
string[]

List of pre-selected codes before interaction

Response

List of predicted codes.

codes
object[]

List of medical codes

usageInfo
object

Credits consumed for this request.