This article covers how to get started with the AS Group APIs.
Notes:
The API Tester in the v4 Portal enables you to securely call the methods of these APIs using your organization's Kentik data.
AS Groups are supported in the Kentik portal via the Settings » AS Groups page. For more information, see AS Groups.
Protobuf specifications for Kentik’s v6 APIs are available in our api-schema-public repository.
AS Group Usage
The AS Group API provides programmatic access to the configuration of AS Groups, allowing the traffic of a set of ASes to be summed so it can be evaluated together for the purpose of filtering and top-X grouping in queries.
AS Group RPCs
The tables below provide a quick reference to key information about each Remote Procedure Call in these APIs. Use the links in the tables to see schemas for the request and/or response body (if any).
Note: To test methods using your own Kentik data, use the portal's API Tester.
ListASGroups
API: ASGroupService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
GET | /as_group/v202212 | Returns list of configured AS groups. | ||
|
CreateASGroup
API: ASGroupService
REST Method | REST Endpoint | Description | ||
---|---|---|---|---|
POST | /as_group/v202212 | Create configuration for a new AS group. Returns the newly created configuration. | ||
|
UpdateASGroup
API: ASGroupService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
PUT | /as_group/v202212 | Replaces configuration of an AS group with attributes in the request. Returns the updated configuration. | ||||||||||
Parameters:
|
GetASGroup
API: ASGroupService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
GET | /as_group/v202212 | Returns configuration of a AS group specified by ID. | ||||||||||
|
DeleteASGroup
API: ASGroupService
REST Method | REST Endpoint | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
DELETE | /as_group/v202212 | Deletes configuration of an AS group with specific ID. | ||||||||||
|
AS Group Schemas
This API uses the following schemas.
protobufAny
Schema: protobufAny | Type: object | ||||||
Properties:
|
rpcStatus
Schema: rpcStatus | Type: object | ||||||||
Properties:
|
ASGroupConcise
Schema: v202212ASGroupConcise | Type: object | ||||||||||||
Properties (* = required)
|
ASGroupDetailed
Schema: v202212ASGroupDetailed | Type: object | ||||||||||||
Properties (* = required)
|
AutonomousSystem
Schema: v202212AutonomousSystem | Type: object | ||||||
Properties:
|
CreateASGroupRequest
Schema: v202212CreateASGroupRequest | Type: object | ||||
Properties:
|
CreateASGroupResponse
Schema: v202212CreateASGroupResponse | Type: object | ||||
Properties:
|
DeleteASGroupResponse
Schema: v202212DeleteASGroupResponse | Type: object |
Properties: None. |
GetASGroupResponse
Schema: v202212GetASGroupResponse | Type: object | ||||
Properties:
|
ListASGroupsResponse
Schema: v202212ListASGroupsResponse | Type: object | ||||||
Properties:
|
UpdateASGroupRequest
Schema: v202212UpdateASGroupRequest | Type: object | ||||
Properties:
|
UpdateASGroupResponse
Schema: v202212UpdateASGroupResponse | Type: object | ||||
Properties:
|
© 2014-25 Kentik