AgentConnect
Usage

Get monthly session usage

Counts the sessions the organization started in the current UTC month, by the database clock: a session counts once, when the Control Plane first admits or records it, and sessions recorded before counting began are not counted. limit and policyRevision come from the organization session policy and are null without one; enforcing says whether a new session past limit is refused now, false without an enforced limit or while the install counts only. resetsAt is the start of the next UTC month and asOf the instant every field was read at.

GET
/v1/orgs/{orgId}/usage/sessions

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/usage/sessions"
{  "used": -9007199254740991,  "limit": -9007199254740991,  "policyRevision": -9007199254740991,  "enforcing": true,  "monthStart": "2019-08-24T14:15:22Z",  "resetsAt": "2019-08-24T14:15:22Z",  "asOf": "2019-08-24T14:15:22Z"}