API ReferenceIngest
Ingest a host metric
Records one infrastructure metric sample (cpu_percent, memory_used, etc.). project_id is derived from the API key.
Authorization
ApiKeyAuth Authorization<token>
Format: "Bearer kw_"
In: header
Request Body
application/json
Metric 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/metrics" \ -H "Content-Type: application/json" \ -d '{ "host": "string", "metric_name": "string", "value": 0 }'{ "id": "string", "timestamp": "string"}