Skip to main content
GET
/
public-api
/
billing
/
end-user-teams
/
detail
Detailed end-user Teams bot (MAU) breakdown for a month
curl --request GET \
  --url https://api.neoagent.io/public-api/billing/end-user-teams/detail \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "monthly_active_users": [
      {
        "active_users": 123,
        "month": "<string>"
      }
    ],
    "per_company": [
      {
        "active_users": 123,
        "company_name": "<string>",
        "end_company_id": "<string>",
        "tickets": [
          {
            "ticket_id": "<string>",
            "url": "<string>"
          }
        ],
        "tickets_raised": 123
      }
    ],
    "per_user": [
      {
        "company_name": "<string>",
        "end_company_id": "<string>",
        "end_user": "<string>",
        "end_user_email": "<string>",
        "tickets": [
          {
            "ticket_id": "<string>",
            "url": "<string>"
          }
        ],
        "tickets_raised": 123,
        "turns": 123
      }
    ],
    "tickets_raised": 123
  },
  "meta": {
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timings_ms": {},
    "pagination": {
      "has_more": true,
      "next_cursor": "<string>"
    },
    "warnings": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).

Query Parameters

month
string

Month in YYYY-MM format. Defaults to current month.

months
integer

Trend length in months (1-24, default 6), ending at the selected month.

Response

Success.

data
EndUserTeamsDetail · object
required

Detailed end-user Teams bot MAU breakdown for the selected month: per-company (named) + per-user + bot-raised ticket count, plus a monthly active-user trend ending at that month. Dollar billing (projected charge / trial state) stays on /billing/end-user-teams-usage.

meta
object
required