Skip to content

Create a llm-usage

POST
/llm-usages
object
data
object
model
required
string
tokens_in
integer
tokens_out
integer
cost_usd
number
request_type
string
Allowed values: chat complete
success
boolean
organisation
One of:

DocumentId reference to api::organisation.organisation

string

Created

object
data
object
model
required
string
tokens_in
integer
tokens_out
integer
cost_usd
number
request_type
string
Allowed values: chat complete
success
boolean
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)