Skip to main content
This endpoint returns the organization profile and the effective plan details resolved in this order:
  1. Enterprise plan
  2. Stripe subscription
  3. Free-tier fallback
It also returns the organization’s available credits in total_credits.

Request

Example curl (replace {id} and <api-key>):
PowerShell (Invoke-RestMethod):

Authorizations

string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header.
string
Use a JWT cookie or Bearer token when your app authenticates with session-based access.
Session cookie auth is also supported for browser-based requests.
The caller must belong to the organization. If the session is an impersonated superadmin session, Agni uses the org from the token instead of the org in the URL.

Path Parameters

string
required
The organization UUID.

Response

string
Organization UUID.
string
Organization name.
string
Organization slug.
string
Organization website.
string
Organization status.
number
Available credits in the organization.
string
Organization region.
string
Effective plan name.
string
Subscription status.
string
Subscription period end timestamp.
integer
Maximum concurrent sessions or jobs allowed.
integer
Maximum members allowed in the organization.
integer
Maximum agents allowed in the organization.
number
Maximum credits allowed for the organization.
integer
API requests allowed per window.
boolean
Whether call recording is enabled.
boolean
Whether API access is enabled.
number
Price per extra credit.
object
Effective limits returned for the organization.