GET /v1/network/{network_id}/network-peerings/{id}

Get information about a Redpanda network peering.

Path parameters

  • network_id string Required
  • id string Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id string
    • network_id string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Please reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

GET /v1/network/{network_id}/network-peerings/{id}
curl \
 --request GET 'https://api.redpanda.com/v1/network/cjd533pc4vs8pjdkrrv0/network-peerings/cjp5vehc4vs19qc11pjg' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "network_peering": {
    "id": "cjp5vehc4vs19qc11pjg",
    "aws": {
      "peer_vpc_id": "vpc-0123456789abcdef0",
      "peer_owner_id": "123456789012"
    },
    "state": "STATE_READY",
    "status": {
      "created": {
        "aws": {
          "vpc_peering_connection_id": "pcx-0123456789abcdef0"
        }
      },
      "cloud_provider": {
        "aws": {
          "status": "active",
          "status_message": "",
          "expiration_time": null,
          "accepter_cidr_block": "10.1.0.0/16"
        }
      }
    },
    "created_at": "2023-01-01T00:00:00Z",
    "deleted_at": null,
    "network_id": "cjd533pc4vs8pjdkrrv0",
    "updated_at": "2023-01-01T00:00:00Z",
    "display_name": "my-aws-peering",
    "cloud_provider": "CLOUD_PROVIDER_AWS"
  }
}
Response examples (404)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string",
          "localized_message": {
            "locale": "string",
            "message": "string"
          },
          "reason": "string"
        }
      ]
    }
  ],
  "message": "string"
}

Documentation preview

will expire on January 23 at 13:11

This is a preview of your version @2026-01-16.