Reference
Log Request
POST
/
log-request
Log a request to the system. This is useful for logging requests from custom LLM providers.
Headers
X-API-KEY
string
requiredAPI key to authorize the operation.
Body
application/json
provider
string
requiredmodel
string
requiredinput
object
requiredoutput
object
requiredrequest_start_time
string
requiredrequest_end_time
string
requiredparameters
object
tags
string[]
metadata
object
prompt_name
string | null
prompt_version_number
integer | null
prompt_input_variables
object
input_tokens
integer
default: 0output_tokens
integer
default: 0price
number
default: 0function_name
string
default: score
integer
default: 0Response
201 - application/json
id
integer
requiredprompt_version
object
requiredWas this page helpful?