POST
/
v1
/
metrics
/
modelIO

Authorizations

lx-api-key
string
header
required

Body

application/json
modelInput
string
required

Input to the model

modelName
string
required

Name of the identifier to use on the Lytix platform

modelOutput
string
required

Output of the model

inputTokens
number

Input tokens to associate with the IO event

latency
number

Latency in milliseconds to associate with the IO event

metricMetadata
object

Metadata to associate with the metric

outputTokens
number

Output tokens to associate with the IO event

sessionId
string

Session Id to associate with the IO event

userIdentifier
string

User identifier to associate with the IO event

workflowName
string

Workflow name to associate with the IO event