API ReferenceIngest
Ingest an HTTP request event
Records one HTTP request: method, path, status, duration. project_id is derived from the API key.
Authorization
ApiKeyAuth Authorization<token>
Format: "Bearer kw_"
In: header
Request Body
application/json
API event 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/events" \ -H "Content-Type: application/json" \ -d '{ "duration_ms": 0, "method": "GET", "path": "string", "service": "string", "status_code": 100 }'{ "id": "string", "timestamp": "string"}