Counter Group Info API
Retrieve metadata about enabled counter groups in a Trisul context, including group names, GUIDs, bucket sizes, and optionally detailed meter definitions. This API is the REST/JSON equivalent of the TRP COUNTER_GROUP_INFO_REQUEST command.
Use this API as a discovery step before calling the Topper API or other counter-group-based endpoints.
Endpoint
| Property | Value |
|---|---|
| URL | /api/counter_group_info/counter_group_info_request |
| Methods | GET, POST |
| Content-Type | application/json (response) |
| Authentication | API token required |
Authentication
All requests must include a valid API token and username. The token is the user's auto_login_token configured in Webtrisul.
To generate an API token, follow the provided link: Generate API token
| Parameter | Required | Description |
|---|---|---|
api_token | Yes | User's API authentication token |
username | Yes | Username of the authenticated user |
Request Parameters
Required
| Parameter | Type | Description |
|---|---|---|
context | string | Webtrisul context name (e.g. default, netflow) |
Optional
| Parameter | Type | Default | Description |
|---|---|---|---|
counter_group | string |