ingest_metering_events
Ingest one batch of execution-analytics events from a managed runtime that explicitly enabled control-plane sync. This endpoint is analytics-only: received events are counted for dashboards and structured-logged, never used for billing or quota enforcement, and self-hosted Algenta profiles never call it automatically. Every event field is optional; events without a timestamp count toward the current billing month. An empty events list fails with empty_events. Returns accepted (event count) and the primary billing_period.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"events": "<events>"
},
"name": "ingest_metering_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Analytics events; every field below is optional. | |
| device_id | Yes | Managed-runtime device id that produced the events. |