POST
/
v1
/
metrics
/
modelIO
curl --request POST \
  --url https://api.lytix.co/v1/metrics/modelIO \
  --header 'Content-Type: application/json' \
  --header 'lx-api-key: <api-key>' \
  --data '{
  "modelName": "<string>",
  "modelInput": "<string>",
  "modelOutput": "<string>",
  "metricMetadata": {},
  "userIdentifier": "<string>",
  "sessionId": "<string>",
  "workflowName": "<string>",
  "inputTokens": 123,
  "outputTokens": 123,
  "latency": 123
}'
This response has no body data.

Authorizations

lx-api-key
string
header
required

Body

application/json
Model IO event to log

The body is of type object.