Skip to main content
GET
FIXED · account Agents are unlimited. There is no fee per agent. Customers pay only for usage (minutes and texts). Many customers can use one shared agent, each with its own number and number prompt. Use separate agents only for different knowledge or agent settings. List page size, knowledge-base quotas and simultaneous-call limits do not cap agent count. NOT OFFERED → do this instead · number A separate agent does not create a separate account capacity budget. Pace each business within the account-wide call budget. YOU CAN CHANGE · call Save the customer and verified business number with each request. SCOPE · agent Group numbers by the knowledge and agent settings their customers need. Attribute each customer’s usage to its verified business number. Read the compact AI rules Read stored account usage and call-capacity information. Occupancy can include unresolved reservations, so it is not simply the number of connected conversations.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Use the returned max_concurrent value for this account.
  • Usage counters and unresolved reservations are not the same as an invoice or connected-call count.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential.

Request fields

No request body or query fields are required. No request fields are required. The three reservation fields are present only when that capacity implementation is enabled. Historical counters are not a complete billing ledger. Optional fields can be absent; preserve null values instead of turning them into zero.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Keep NIXFLEX_API_KEY in your private process environment. The shell examples use Bash syntax. SDK and CLI examples require Node/CLI 0.11.0 or later and Python 0.4.0 or later.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Response

OK

plan
string | null
required

Saved account plan label.

total_calls
number | null
required

Stored account call counter.

total_minutes
number | null
required

Stored account minutes; can be fractional.

total_cost
number | null
required

Stored account cost value; this is not an invoice or independent carrier charge total.

rate_limit_per_minute
number | null
required

Saved request limit. Request headers describe the effective limit.

max_concurrent
integer
required

Current configured call capacity; the default is 10 when no positive limit is stored.

Required range: x >= 0
peak_concurrent_this_month
integer
required

Observed monthly peak; best-effort measurement.

Required range: x >= 0
rejected_at_cap_this_month
integer
required

Recorded monthly refusals at capacity; best-effort telemetry can be zero when unavailable.

Required range: x >= 0
occupied_call_slots
integer

Optional owned reservation count, including unresolved reservations.

Required range: x >= 0
capacity_source
string

Present with owned-reservation capacity.

Allowed value: "owned_reservations"
capacity_measured_since
string<date-time> | null

Optional start of capacity measurement.