Account
The account endpoint returns your account’s name, owner, status, and plan limits. Keys with the Read Only or Admin role can call it. Timestamps are epoch seconds.
Get Account
Section titled “Get Account”GET /account/{accountId}
| Required role |
|---|
| Admin or Read Only |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId | number | Yes | Your account ID. |
Response
Status 200.
| Name | Type | Description |
|---|---|---|
id | number | The account ID. |
name | string | The account name. |
email | string | The account contact email. |
owner | string | The account owner. |
status | string | active, inactive, or trial. |
statusAt | number | When the status last changed, in epoch seconds. |
cancelAt | number | When the account is scheduled to cancel, in epoch seconds. |
defaultTeamId | number | The ID of the Default team. |
alertRetention | number | How many days alerts are kept. |
auditRetention | number | How many days audit entries are kept. |
maxAlerts | number | Monthly alert quota. |
maxNotifications | number | Monthly notification quota. |
maxUsers | number | Maximum number of users. |