metrics — latest state
Every field is optional; send only what you actually know. A missing field shows as “—” and stays honestly unknown. On a channel backed by a billing rail, `users` is the ONLY field accepted — everything else is the rail's to report.
Properties
| Name | Type | Description |
|---|---|---|
| channel | string | Channel id, from Projects → the project → its channel. |
| metrics | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/devmargin-app/json-schema/devmargin-app-push-metrics-body-schema.json",
"title": "metrics — latest state",
"description": "Every field is optional; send only what you actually know. A missing\nfield shows as “—” and stays honestly unknown.\n\nOn a channel backed by a billing rail, `users` is the ONLY field\naccepted — everything else is the rail's to report.\n",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/devmargin-app-openapi-openapi.yml#/components/schemas/PushMetricsBody",
"type": "object",
"properties": {
"channel": {
"type": "string",
"format": "uuid",
"description": "Channel id, from Projects → the project → its channel."
},
"metrics": {
"type": "object",
"properties": {
"users": {
"type": "integer",
"minimum": 0,
"description": "The only field a rail-backed channel accepts."
},
"activeSubs": {
"type": "integer",
"minimum": 0
},
"newSubs": {
"type": "integer",
"minimum": 0
},
"churnedSubs": {
"type": "integer",
"minimum": 0
},
"mrr": {
"type": "number",
"minimum": 0,
"description": "Push-rail channels only."
},
"arr": {
"type": "number",
"minimum": 0,
"description": "Push-rail channels only."
},
"oneOffRevenue": {
"type": "number",
"minimum": 0,
"description": "Push-rail channels only. Do not also report this money through\n`earned`, or the same takings are described twice.\n"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO-4217. Converted to USD at snapshot FX."
}
},
"additionalProperties": false
}
},
"required": [
"channel",
"metrics"
],
"additionalProperties": false
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/devmargin-app-push-metrics-body"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.