The organization object

Shape of the Organization resource: credit balance and trial dates.

The Organization resource represents the workspace your API key is scoped to. It carries the credit balance and the trial dates.

Object shape

{
  "id": "org_64f1c0ef2ec711ef6dc1dcf",
  "name": "Macha AI",
  "slug": "macha-ai",
  "status": "active",
  "credits": {
    "total": 50000,
    "used": 12345,
    "remaining": 37655,
    "top_up": 0,
    "reset_at": "2026-07-01T00:00:00.000Z"
  },
  "trial": null,
  "created_at": "2026-05-01T00:00:00.000Z"
}

Attributes

FieldTypeNotes
idstringorg_<24 hex>.
namestringDisplay name.
slugstringURL-safe identifier.
statusstringSubscription status.
creditsobjectSee below.
trialobject | nullTrial dates (start_date, end_date) or null if not on trial.
created_atISO 8601When the org was created.

Credits shape

FieldTypeNotes
totalintegerPlan allotment per billing period.
usedintegerConsumed this period.
remainingintegerWhat's left, including any top-up.
top_upintegerAdditional credits purchased on top of the plan.
reset_atISO 8601 | nullWhen credits reset (next billing cycle).

What's deliberately not exposed

  • Chargebee customer IDs / subscription IDs, billing internals stay server-side.
  • Org-provided LLM API keys, if you've configured BYO keys, they're encrypted at rest and never returned.
  • Internal flags, super-admin allowlists, beta feature flags, etc.

© 2026 AGZ Technologies Private Limited