Runs
Ingest run events
This endpoint is for reporting data from platforms not supported by our SDKs.
You can use either your project's Public or Private Key as the Bearer token in the Authorization header.
The expected body is an array of Event objects.
For LLM calls, you would first track a start
event with the input
data.
Once your LLM call succeeds, you would need to send an end
event to the API endpoint with the output
data from the LLM call.
For a full step-by-step guide on sending LLM data to the Lunary API, see the Custom Integration guide.
POST
/v1/runs/ingest
Accepted Keys:
events
Example response:
Request Body
Property | Type | Description |
---|---|---|
events | Object |
Responses
200
Successful ingestion
Property | Type | Description |
---|---|---|
results | array |
401
Project does not exist
402
Incorrect project id format