---
title: "Network Classification APIs"
slug: "network-classification-apis"
description: "Manage network classification programmatically with Kentik’s APIs. Automate settings for traffic directionality, network boundaries, and profiles."
updated: 2026-02-20T15:46:17Z
published: 2026-02-20T15:46:17Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.kentik.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Network Classification APIs

> [!NOTE]
> **Note**: This alpha API is neither supported nor recommended for production use. For additional information, contact Kentik (see [**Customer Care**](/v1/docs/customer-care)).

This article covers how to get started with the Network Classification APIs.

> [!NOTE]
> **Notes:**
> 
> - The [**API Tester**](https://portal.kentik.com/v4/core/api-tester) in the v4 Portal enables you to securely call the methods of these APIs using your organization's Kentik data.
> - For information about Network Classification, start with [**About Network Classification**](/v1/docs/network-classification#about-network-classification).
> - Protobuf and OpenAPI specifications for Kentik’s v6 APIs are available in our [**api-schema-public**](https://github.com/kentik/api-schema-public) repository.

## Classification 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]
> **Note:** To test methods using your own Kentik data, use the portal's [**API Tester**](https://portal.kentik.com/v4/core/api-tester).

### NetworkClassGet

**API: NetworkClassService**

| REST Method | REST Endpoint | Description |
| --- | --- | --- |
| GET | /network_class/v202109alpha1 /network_class | Returns information about a network classification for the company. |
| \| **Request body:** None **Parameters:** None \| **Response body:** [v202109alpha1GetNetworkClassResponse](/v1/docs/network-classification-apis#getnetworkclassresponse) \| \| --- \| --- \| |
| **Request body:** None **Parameters:** None | **Response body:** [v202109alpha1GetNetworkClassResponse](/v1/docs/network-classification-apis#getnetworkclassresponse) |

### NetworkClassUpdate

**API: NetworkClassService**

| REST Method | REST Endpoint | Description |
| --- | --- | --- |
| POST | /network_class/v202109alpha1 /network_class | Replaces the entire network classification attributes for the company. |
| \| **Request body:** [v202109alpha1UpdateNetworkClassRequest](/v1/docs/network-classification-apis#updatenetworkclassrequest) **Parameters:** None \| **Response body:** [v202109alpha1UpdateNetworkClassResponse](/v1/docs/network-classification-apis#updatenetworkclassresponse) \| \| --- \| --- \| |
| **Request body:** [v202109alpha1UpdateNetworkClassRequest](/v1/docs/network-classification-apis#updatenetworkclassrequest) **Parameters:** None | **Response body:** [v202109alpha1UpdateNetworkClassResponse](/v1/docs/network-classification-apis#updatenetworkclassresponse) |

## Classification Schemas

This API uses the following schemas.

#### protobufAny

| **Schema:** protobufAny | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| typeUrl \| type: string \| \| value \| type: string format: byte \| |
| Name | Value |
| typeUrl | type: string |
| value | type: string format: byte |

#### rpcStatus

| **Schema:** rpcStatus | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| code \| type: integer format: int32 \| \| message \| type: string \| \| details \| type: array items: $ref: [protobufAny](/v1/docs/network-classification-apis#protobufany) \| |
| Name | Value |
| code | type: integer format: int32 |
| message | type: string |
| details | type: array items: $ref: [protobufAny](/v1/docs/network-classification-apis#protobufany) |

#### CloudSubnet

| **Schema:** v202109alpha1CloudSubnet | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| type \| $ref: [v202109alpha1CloudType](/v1/docs/network-classification-apis#cloudtype) \| \| subnets \| type: array items: type: string title: Subnet masks \| |
| Name | Value |
| type | $ref: [v202109alpha1CloudType](/v1/docs/network-classification-apis#cloudtype) |
| subnets | type: array items: type: string title: Subnet masks |

#### CloudType

| **Schema:** v202109alpha1CloudType | **Type:** string |
| --- | --- |
| **Attributes**: \| Key \| Value \| \| --- \| --- \| \| enum \| CLOUD_TYPE_UNSPECIFIED, CLOUD_TYPE_AWS, CLOUD_TYPE_AZURE, CLOUD_TYPE_GCE, CLOUD_TYPE_IBM, CLOUD_TYPE_OCI \| \| default \| CLOUD_TYPE_UNSPECIFIED \| \| description \| • CLOUD_PROVIDER_UNSPECIFIED: Invalid value. • CLOUD_PROVIDER_AWS: Amazon Web Services • CLOUD_PROVIDER_AZURE: Microsoft Azure • CLOUD_PROVIDER_GCE: Google Cloud • CLOUD_PROVIDER_IBM: IBM Cloud Deprecated: IBM Cloud exports are no longer supported. • CLOUD_PROVIDER_OCI: OCI \| |
| Key | Value |
| enum | CLOUD_TYPE_UNSPECIFIED, CLOUD_TYPE_AWS, CLOUD_TYPE_AZURE, CLOUD_TYPE_GCE, CLOUD_TYPE_IBM, CLOUD_TYPE_OCI |
| default | CLOUD_TYPE_UNSPECIFIED |
| description | • CLOUD_PROVIDER_UNSPECIFIED: Invalid value. • CLOUD_PROVIDER_AWS: Amazon Web Services • CLOUD_PROVIDER_AZURE: Microsoft Azure • CLOUD_PROVIDER_GCE: Google Cloud • CLOUD_PROVIDER_IBM: IBM Cloud Deprecated: IBM Cloud exports are no longer supported. • CLOUD_PROVIDER_OCI: OCI |

#### GetNetworkClassResponse

| **Schema:** v202109alpha1GetNetworkClassResponse | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| networkClass \| $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) \| |
| Name | Value |
| networkClass | $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) |

#### NetworkClass

| **Schema:** v202109alpha1NetworkClass | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| internalAsns \| type: array items: type: string title: Internal ASNs \| \| internalIps \| type: array items: type: string title: Internal IPs \| \| usePrivateAsns \| type: boolean title: Specify to use internal ASNs \| \| usePrivateSubnets \| type: boolean title: Specify to use internal IPs \| \| cloudSubnets \| type: array items: $ref: [v202109alpha1CloudSubnet](/v1/docs/network-classification-apis#cloudsubnet) description: Cloud provider and subnet info. \| |
| Name | Value |
| internalAsns | type: array items: type: string title: Internal ASNs |
| internalIps | type: array items: type: string title: Internal IPs |
| usePrivateAsns | type: boolean title: Specify to use internal ASNs |
| usePrivateSubnets | type: boolean title: Specify to use internal IPs |
| cloudSubnets | type: array items: $ref: [v202109alpha1CloudSubnet](/v1/docs/network-classification-apis#cloudsubnet) description: Cloud provider and subnet info. |

#### UpdateNetworkClassRequest

| **Schema:** v202109alpha1UpdateNetworkClassRequest | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| networkClass \| $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) \| |
| Name | Value |
| networkClass | $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) |

#### UpdateNetworkClassResponse

| **Schema:** v202109alpha1UpdateNetworkClassResponse | **Type:** object |
| --- | --- |
| **Properties**: \| Name \| Value \| \| --- \| --- \| \| networkClass \| $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) \| |
| Name | Value |
| networkClass | $ref: [v202109alpha1NetworkClass](/v1/docs/network-classification-apis#networkclass) |
