Assert Metrics for a Metric Block
Writes externally-observed metric values (usage counts, marketing numbers, hand-carried figures) into the period's standing factset_type='metric' FactSet with AssertedProvenance — the observation sibling of compute-metrics. One standing FactSet per (structure, entity, period_end); re-asserting a period replaces its facts. Structures carrying Derive rules are compute-owned and rejected: asserted and derived metric series keep disjoint structures. Observations must resolve to concepts on the structure's presentation catalog. Deterministic and non-AI — no credits consumed.
Idempotency: supply an Idempotency-Key header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Request
- Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.robosystems.ai/extensions/roboledger/{graph_id}/operations/assert-metrics
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
Headers
Request body
Example request
{
"observations": [
{
"qname": "rsx:GithubStars",
"value": 1240
},
{
"qname": "rsx:NpmDownloads",
"value": 3811
}
],
"period_end": "2026-07-31",
"period_start": "2026-07-01",
"source_system": "content-machine",
"structure_id": "str_growth_metrics"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.