latestOpenAPI 3.1.02026-08-2211754502.4 KB
76cfbed5eb40
Usage
Record usage event
Records bill-in-arrears usage for a configured package usage metric on a customer order. The authenticated API key must own the order, and name must match a usage metric configured on the order's package.
post/meter-event
Request body
Response
Usage event recorded
Example response
{
"data": {
"usage": {
"threshold": {
"level": "warning",
"message": "Free usage is below 10%."
}
},
"meter": {
"usage": {
"threshold": {
"level": "warning",
"message": "Free usage is below 10%."
}
}
}
}
}