MessageOS
APIUsage

Read daily usage

GET
/usage

from is included and to is not. estCostMicroUsd is null until a rate card is configured. The response is a measurement, not a charge. Scope: usage:read.

Authorization

bearer
headerAuthorizationBearer <mosc_...>

A client key (mosc_).

Query Parameters

from*string

First day, included (YYYY-MM-DD).

Match^\d{4}-\d{2}-\d{2}$
to*string

End day, not included (YYYY-MM-DD). It must be after from.

Match^\d{4}-\d{2}-\d{2}$

Response Body

Daily usage rows.

application/json
  1. response
data*array<>

Example request

curl 'https://api.messageos.ai/v1/usage?from=2026-10-01&to=2026-11-01' \  -H 'Authorization: Bearer mosc_...'

Example response

{  "data": [    {      "day": "2026-10-01",      "conversations": 0,      "inboundMessages": 0,      "outboundRcs": 0,      "outboundSms": 0,      "estCostMicroUsd": null,      "gapsRecorded": 0,      "toolCalls": 0,      "workflowsCompleted": 0    }  ]}