Push telemetry for an owner
const url = 'https://example.com/api/v1/telemetry:push';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"events":[{"instance":"example","message":"example","name":"example","payload":"example","ts":"2026-04-15T12:00:00Z"}],"logs":[{"correlation_id":"example","facility":"example","message":"example","severity":"example","source":"example","ts":"2026-04-15T12:00:00Z"}],"metrics":[{"instance":"example","name":"example","ts":"2026-04-15T12:00:00Z","value":1}],"owner":{"kind":"component","ref":"example"},"properties":[{"instance":"example","name":"example","ts":"2026-04-15T12:00:00Z","value":"example"}],"source":"example","ts":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/telemetry:push \ --header 'Content-Type: application/json' \ --data '{ "events": [ { "instance": "example", "message": "example", "name": "example", "payload": "example", "ts": "2026-04-15T12:00:00Z" } ], "logs": [ { "correlation_id": "example", "facility": "example", "message": "example", "severity": "example", "source": "example", "ts": "2026-04-15T12:00:00Z" } ], "metrics": [ { "instance": "example", "name": "example", "ts": "2026-04-15T12:00:00Z", "value": 1 } ], "owner": { "kind": "component", "ref": "example" }, "properties": [ { "instance": "example", "name": "example", "ts": "2026-04-15T12:00:00Z", "value": "example" } ], "source": "example", "ts": "2026-04-15T12:00:00Z" }'Accepts per-lane observations (metrics, properties, events) and raw log lines for one owner and publishes them onto the ingest lane. Each lane validates against its own catalog: an unregistered name is rejected and reported in the response rather than silently dropped, and a property or event payload violating its type’s schema refuses the batch with a 422. Every key has one writer class, and a push writes only a collected key: a built-in key an outpost writes (a reachability or rung, a probe metric or timing, a held session’s state, collection-failed, an endpoint’s collection telemetry) is an outpost’s own observation and a platform key (health, the webhook receiver’s counts) is the platform’s, each rejected by name on every lane; a key a calc rule outputs is rejected naming the rule. The owner is a component or a system; a system batch carries no log lines (a log line is component-owned), refused with a 422. An observation’s instance is the endpoint it came through: one naming no endpoint on the owner refuses the batch with a 422 naming it and listing the owner’s endpoints, and a system has none, so a system’s observations name no instance. Gated by telemetry:push, whose scope must cover the declared owner on its own tier (one check per batch): the push scope alone is enough to see the owner (no component:read or system:read is needed), an owner outside both the push scope and the caller’s read of that kind is a non-disclosing 404, and one the caller can read but may not push to is a 403.
Request Bodyrequired
Section titled “ Request Bodyrequired ”object
A URL to the JSON Schema for this object.
Natively caught occurrences, validated against event_type
object
The endpoint of the owner this came through, by name (an endpoint is named by its transport); omit for the owner as a whole. An instance naming no endpoint on the owner refuses the batch with a 422
The occurrence’s human-readable line
A registered event_type name
The occurrence’s structured payload, validated against the event_type’s payload schema
When this occurred; defaults to the batch timestamp, then to ingest time
Raw untyped log lines. No catalog gate. Component owners only: a system batch carrying one is refused with a 422
object
Threads related lines and their derived events
The line’s facility, when classified
The raw log text
The line’s severity, when classified
The channel the line arrived on; falls back to the batch source
When the line arrived; defaults to the batch timestamp
Numeric observations, validated against metric_type
object
The endpoint of the owner this came through, by name (an endpoint is named by its transport); omit for the owner as a whole. An instance naming no endpoint on the owner refuses the batch with a 422
A registered metric_type name
When this was observed; defaults to the batch timestamp, then to ingest time
The numeric observation
The entity every row in the batch lands under
object
The owner arc: a component, or a system (telemetry about the system as a whole, such as a cloud service’s account of the room it serves). A system batch carries no log lines, since a log line is component-owned
The owning entity, by name or id
Categorical observations, validated against property_type and each type’s validation schema
object
The endpoint of the owner this came through, by name (an endpoint is named by its transport); omit for the owner as a whole. An instance naming no endpoint on the owner refuses the batch with a 422
A registered property_type name
When this was observed; defaults to the batch timestamp, then to ingest time
The observed value, shaped by the type’s data_type and validated against its validation schema
Who observed this batch (recorded as the provenance source on every row)
Batch timestamp; a per-item timestamp overrides it
Responses
Section titled “ Responses ”Accepted
object
A URL to the JSON Schema for this object.
object
Names dropped by reject-not-project. Reported synchronously so a caller learns about a typo
object
Example
{ "$schema": "/api/v1/schemas/PushOutputBody.json"}default
Section titled “ default ”Error
object
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
Example
{ "$schema": "/api/v1/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}