Isovalent bgp API

The bgp API from Isovalent — 3 operation(s) for bgp.

Operations 3

GET /bgp/peers Lists operational state of BGP peers
GET /bgp/routes Lists BGP routes from BGP Control Plane RIB.
GET /bgp/route-policies Lists BGP route policies configured in BGP Control Plane.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/isovalent-bgp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

isovalent-bgp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cilium Bgp API
  description: Cilium
  version: v1beta1
  x-provenance:
    method: derived
    authored_by: API Evangelist
    derived_on: '2026-08-19'
    first_party: false
    provider_published: false
    source: Modelled from the provider's public HTML documentation.
    note: 'Not published by the provider. Probed 2026-08-19: no anonymously fetchable first-party contract. Cilium''s agent/health specs are open source; the Isovalent-branded documents here were modelled from docs.'
servers:
- url: /v1
tags:
- name: bgp
paths:
  /bgp/peers:
    get:
      summary: Lists operational state of BGP peers
      description: 'Retrieves current operational state of BGP peers created by

        Cilium BGP virtual router. This includes session state, uptime,

        information per address family, etc.

        Deprecated: This will be removed in the future.

        '
      deprecated: true
      tags:
      - bgp
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BgpPeer'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: BGP Control Plane disabled
          x-go-name: Disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /bgp/routes:
    get:
      summary: Lists BGP routes from BGP Control Plane RIB.
      description: 'Retrieves routes from BGP Control Plane RIB filtered by parameters you specify.

        Deprecated: This will be removed in the future.

        '
      deprecated: true
      tags:
      - bgp
      parameters:
      - $ref: '#/components/parameters/bgp-table-type'
      - $ref: '#/components/parameters/bgp-afi'
      - $ref: '#/components/parameters/bgp-safi'
      - $ref: '#/components/parameters/bgp-router-asn'
      - $ref: '#/components/parameters/bgp-neighbor-address'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BgpRoute'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: BGP Control Plane disabled
          x-go-name: Disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /bgp/route-policies:
    get:
      summary: Lists BGP route policies configured in BGP Control Plane.
      description: 'Retrieves route policies from BGP Control Plane.

        Deprecated: This will be removed in the future.

        '
      deprecated: true
      tags:
      - bgp
      parameters:
      - $ref: '#/components/parameters/bgp-router-asn'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BgpRoutePolicy'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: BGP Control Plane disabled
          x-go-name: Disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    bgp-router-asn:
      name: router_asn
      description: 'Autonomous System Number (ASN) identifying a BGP virtual router instance.

        If not specified, all virtual router instances are selected.

        '
      required: false
      in: query
      schema:
        type: integer
    bgp-table-type:
      name: table_type
      description: BGP Routing Information Base (RIB) table type
      required: true
      in: query
      schema:
        type: string
        enum:
        - loc-rib
        - adj-rib-in
        - adj-rib-out
    bgp-afi:
      name: afi
      description: Address Family Indicator (AFI) of a BGP route
      required: true
      in: query
      schema:
        type: string
    bgp-safi:
      name: safi
      description: Subsequent Address Family Indicator (SAFI) of a BGP route
      required: true
      in: query
      schema:
        type: string
    bgp-neighbor-address:
      name: neighbor
      description: 'IP address specifying a BGP neighbor.

        Has to be specified only when table type is adj-rib-in or adj-rib-out.

        '
      required: false
      in: query
      schema:
        type: string
  schemas:
    BgpNlri:
      description: Network Layer Reachability Information (NLRI) of the path
      properties:
        base64:
          description: Base64-encoded NLRI in the BGP UPDATE message format
          type: string
    BgpGracefulRestart:
      description: BGP graceful restart parameters negotiated with the peer.
      properties:
        enabled:
          description: 'When set, graceful restart capability is negotiated for all AFI/SAFIs of

            this peer.'
          type: boolean
        restart-time-seconds:
          description: 'This is the time advertised to peer for the BGP session to be re-established

            after a restart. After this period, peer will remove stale routes.

            (RFC 4724 section 4.2)'
          type: integer
    BgpRoutePolicyPrefixMatch:
      description: Matches a CIDR prefix in a BGP route policy
      properties:
        type:
          description: Defines matching logic in case of multiple prefixes
          $ref: '#/components/schemas/BgpRoutePolicyMatchType'
        prefixes:
          description: Prefixes to match with
          type: array
          items:
            $ref: '#/components/schemas/BgpRoutePolicyPrefix'
    BgpRoutePolicy:
      description: 'Single BGP route policy retrieved from the underlying router

        Deprecated: This will be removed in the future.

        '
      properties:
        router-asn:
          description: Autonomous System Number (ASN) identifying a BGP virtual router instance
          type: integer
        name:
          description: Name of the route policy
          type: string
        type:
          description: Type of the route policy
          type: string
          enum:
          - export
          - import
        statements:
          description: List of the route policy statements
          type: array
          items:
            $ref: '#/components/schemas/BgpRoutePolicyStatement'
    BgpRoutePolicyMatchType:
      description: Defines BGP route policy matching logic in case of multiple match elements.
      type: string
      enum:
      - any
      - all
      - invert
    BgpPeerFamilies:
      description: BGP AFI SAFI state of the peer
      properties:
        afi:
          description: BGP address family indicator
          type: string
        safi:
          description: BGP subsequent address family indicator
          type: string
        received:
          description: Number of routes received from the peer of this address family
          type: integer
        accepted:
          description: Number of routes accepted from the peer of this address family
          type: integer
        advertised:
          description: Number of routes advertised of this address family to the peer
          type: integer
    BgpRoute:
      description: 'Single BGP route retrieved from the RIB of underlying router

        Deprecated: This will be removed in the future.

        '
      properties:
        router-asn:
          description: Autonomous System Number (ASN) identifying a BGP virtual router instance
          type: integer
        neighbor:
          description: IP address specifying a BGP neighbor if the source table type is adj-rib-in or adj-rib-out
          type: string
        prefix:
          description: IP prefix of the route
          type: string
        paths:
          description: List of routing paths leading towards the prefix
          type: array
          items:
            $ref: '#/components/schemas/BgpPath'
    BgpRoutePolicyStatement:
      description: Single BGP route policy statement
      properties:
        match-neighbors:
          description: Matches BGP neighbor IP address with the provided match rules
          $ref: '#/components/schemas/BgpRoutePolicyNeighborMatch'
        match-families:
          description: Matches any of the provided address families. If empty matches all address families.
          type: array
          items:
            $ref: '#/components/schemas/BgpFamily'
        match-prefixes:
          description: Matches CIDR prefix with the provided match rules
          $ref: '#/components/schemas/BgpRoutePolicyPrefixMatch'
        route-action:
          description: RIB processing action taken on the matched route
          type: string
          enum:
          - none
          - accept
          - reject
        add-communities:
          description: List of BGP standard community values to be added to the matched route
          type: array
          items:
            type: string
        add-large-communities:
          description: List of BGP large community values to be added to the matched route
          type: array
          items:
            type: string
        set-local-preference:
          description: BGP local preference value to be set on the matched route
          type: integer
        nexthop:
          description: BGP nexthop action
          $ref: '#/components/schemas/BgpRoutePolicyNexthopAction'
    BgpRoutePolicyPrefix:
      description: Matches a CIDR prefix in a BGP route policy
      properties:
        cidr:
          description: CIDR prefix to match with
          type: string
        prefix-len-min:
          description: Minimal prefix length that will match if it falls under CIDR
          type: integer
        prefix-len-max:
          description: Maximal prefix length that will match if it falls under CIDR
          type: integer
    BgpRoutePolicyNexthopAction:
      description: BGP nexthop action
      properties:
        self:
          description: Set nexthop to the IP address of itself
          type: boolean
        unchanged:
          description: Don't change nexthop
          type: boolean
    BgpFamily:
      description: Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path
      properties:
        afi:
          description: Address Family Indicator (AFI) of the path
          type: string
        safi:
          description: Subsequent Address Family Indicator (SAFI) of the path
          type: string
    BgpPathAttribute:
      description: Single BGP path attribute specific for the path
      properties:
        base64:
          description: Base64-encoded BGP path attribute in the BGP UPDATE message format
          type: string
    BgpPath:
      description: Single BGP routing Path containing BGP Network Layer Reachability Information (NLRI) and path attributes
      properties:
        family:
          description: Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path
          $ref: '#/components/schemas/BgpFamily'
        nlri:
          description: Network Layer Reachability Information of the path
          $ref: '#/components/schemas/BgpNlri'
        path-attributes:
          description: List of BGP path attributes specific for the path
          type: array
          items:
            $ref: '#/components/schemas/BgpPathAttribute'
        age-nanoseconds:
          description: Age of the path (time since its creation) in nanoseconds
          type: integer
        best:
          description: True value flags the best path towards the destination prefix
          type: boolean
        stale:
          description: True value marks the path as stale
          type: boolean
    BgpCapabilities:
      description: Represents the BGP capabilities.
      properties:
        capabilities:
          description: Base64-encoded BGP capabilities details
          type: string
    Error:
      type: string
    BgpPeer:
      description: 'State of a BGP Peer

        Deprecated: This will be removed in the future.


        +k8s:deepcopy-gen=true'
      properties:
        name:
          description: Name of peer
          type: string
        local-asn:
          description: Local AS Number
          type: integer
        peer-asn:
          description: Peer AS Number
          type: integer
        peer-address:
          description: IP Address of peer
          type: string
        tcp-password-enabled:
          description: Set when a TCP password is configured for communications with this peer
          type: boolean
        ebgp-multihop-ttl:
          description: 'Time To Live (TTL) value used in BGP packets sent to the eBGP neighbor.

            1 implies that eBGP multi-hop feature is disabled (only a single hop is allowed).

            '
          type: integer
        peer-port:
          description: TCP port number of peer
          type: integer
          minimum: 1
          maximum: 65535
        session-state:
          description: 'BGP peer operational state as described here

            https://www.rfc-editor.org/rfc/rfc4271#section-8.2.2

            '
          type: string
        uptime-nanoseconds:
          description: BGP peer connection uptime in nano seconds.
          type: integer
        graceful-restart:
          description: Graceful restart capability
          $ref: '#/components/schemas/BgpGracefulRestart'
        families:
          description: BGP peer address family state
          type: array
          items:
            $ref: '#/components/schemas/BgpPeerFamilies'
        connect-retry-time-seconds:
          description: Initial value for the BGP ConnectRetryTimer (RFC 4271, Section 8) in seconds
          type: integer
        configured-hold-time-seconds:
          description: 'Configured initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.

            The configured value will be used for negotiation with the peer during the BGP session establishment.

            '
          type: integer
        applied-hold-time-seconds:
          description: 'Applied initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds.

            The applied value holds the value that is in effect on the current BGP session.

            '
          type: integer
        configured-keep-alive-time-seconds:
          description: 'Configured initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.

            The applied value may be different than the configured value, as it depends on the negotiated hold time interval.

            '
          type: integer
        applied-keep-alive-time-seconds:
          description: 'Applied initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds.

            The applied value holds the value that is in effect on the current BGP session.

            '
          type: integer
        local-capabilities:
          description: Capabilities announced by the local peer
          type: array
          items:
            $ref: '#/components/schemas/BgpCapabilities'
        remote-capabilities:
          description: Capabilities announced by the remote peer
          type: array
          items:
            $ref: '#/components/schemas/BgpCapabilities'
    BgpRoutePolicyNeighborMatch:
      description: Matches a neighbor in a BGP route policy
      properties:
        type:
          description: Defines matching logic in case of multiple neighbors
          $ref: '#/components/schemas/BgpRoutePolicyMatchType'
        neighbors:
          description: Neighbor IP addresses to match with
          type: array
          items:
            type: string
x-schemes:
- unix