API ReferenceIngest
Ingest an AI / LLM call trace
Records one LLM call: model, token counts, cost, latency, status. project_id is derived from the API key.
Authorization
ApiKeyAuth Authorization<token>
Format: "Bearer kw_"
In: header
Request Body
application/json
AI trace payload
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/ingest/ai" \ -H "Content-Type: application/json" \ -d '{ "model": "string", "status": "success" }'{ "id": "string", "timestamp": "string"}