Search PlanUsage

LLM-friendly URL
POST
https://api.luzmo.com/0.1.0/planusage
API call form
Examples
List of examples
  • Get the organization's plan usage
  • Get the suborganizations driving AI conversations
  • Get the usage of a suborganization's users
  • Get the usage of a user by email
  • Get the usage of a past billing period
  • Get the usage of several billing periods
  • Get the usage of a user across suborganizations
Description

Get the usage of your organization in the current billing period, with the allowance of your plan for every usage type.

Install
npm install @luzmo/nodejs-sdk
Example Response
200
400
500
{
  "count": 8,
  "rows": [
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "mau",
      "used": 412,
      "unit": "users",
      "included": 500,
      "percent": 82,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "mav",
      "used": 3120,
      "unit": "users",
      "included": 5000,
      "percent": 62,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "mad",
      "used": 18,
      "unit": "users",
      "included": 25,
      "percent": 72,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "iq_conversations",
      "used": 820,
      "unit": "conversations",
      "included": 1000,
      "percent": 82,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "warp_rows",
      "used": 12.4,
      "unit": "million_rows",
      "included": 50,
      "percent": 24,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "sessions",
      "used": 9875,
      "unit": "sessions",
      "included": null,
      "percent": null,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "views",
      "used": 48210,
      "unit": "views",
      "included": 100000,
      "percent": 48,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    },
    {
      "level": "organization",
      "organization_id": "4a2b6c1d-8e3f-4a5b-9c7d-2e1f0a3b5c6d",
      "suborganization": null,
      "group_id": null,
      "user_id": null,
      "username": null,
      "email": null,
      "type": "storage",
      "used": 3.2,
      "unit": "gb",
      "included": 10,
      "percent": 32,
      "period_start": "2026-10-01T00:00:00.000Z",
      "period_end": "2026-11-01T00:00:00.000Z"
    }
  ]
}