ai_cost.recorded
Monthly AI cost aggregate recorded by Colectiva for an org — carries provider, token totals, and MXN spend for the period. Sent to Constanza for bookkeeping.
Senders
colectiva
Receivers
constanza
Data schema
Each field maps to a type hint. | null indicates an optional field.
json
{
"orgId": "string",
"period": "string (YYYY-MM)",
"provider": "string (e.g. openai, anthropic, groq)",
"mxnAmount": "number",
"tokens": "number",
"callCount": "number"
}Example payload
The following is a synthetic payload that matches the schema. Production payloads are signed with HMAC-SHA256 and delivered to each receiver's registered webhook endpoint.
json
{
"orgId": "example-orgId",
"period": "example-period",
"provider": "example-provider",
"mxnAmount": 0,
"tokens": 0,
"callCount": 0
}See also
Generated from ecosystem-sdk/packages/mcp-server/src/registry/events.json. Do not edit by hand.