---
title: "List Serverless cloud gateways"
url: "https://nov18-dev.movespot.fyi/apis/konnect-serverless-cloud-gateways-manager-0/versions/7c19bb20-6c52-4149-b35e-24fa3a5e941e/operations/list-serverless-cloud-gateway"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-serverless-cloud-gateways-manager-0/versions/7c19bb20-6c52-4149-b35e-24fa3a5e941e.md

# List Serverless cloud gateways

`GET` `/serverless-cloud-gateways`

Operation ID: `list-serverless-cloud-gateway`

**Pre-release Endpoint** This endpoint is currently in beta and is subject to change. Returns an array of serverless cloud gateways objects.

## Query parameters

- `page[size]` (integer, optional) - The maximum number of items to include per page. The last page of a collection may include fewer items.
- `page[number]` (integer, optional) - Determines which page of the entities to retrieve.
- `labels` (string, optional) - Filter serverless cloud gateways in the response by associated labels.

## Responses

- `200` - A paginated list response for a collection of serverless cloud gateways.
- `401` - Unauthorized
- `403` - Forbidden

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Serverless Cloud Gateways Manager
  version: 0.0.1
servers:
  - url: https://global.api.konghq.com/v0
    description: US Public API
paths:
  /serverless-cloud-gateways:
    get:
      operationId: list-serverless-cloud-gateway
      summary: List Serverless cloud gateways
      description: |-
        **Pre-release Endpoint**
        This endpoint is currently in beta and is subject to change.

        Returns an array of serverless cloud gateways objects.
      parameters:
        - $ref: "#/components/parameters/PageSize"
        - $ref: "#/components/parameters/PageNumber"
        - $ref: "#/components/parameters/FilterSCGWByLabels"
      responses:
        "200":
          $ref: "#/components/responses/ListServerlessCloudGatewaysResponse"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "403":
          $ref: "#/components/responses/Forbidden"
      tags:
        - Serverless Cloud Gateways
security:
  - personalAccessToken: []
  - systemAccountAccessToken: []
components:
  parameters:
    PageSize:
      name: page[size]
      description: The maximum number of items to include per page. The last page of a
        collection may include fewer items.
      required: false
      in: query
      allowEmptyValue: true
      schema:
        type: integer
        example: 10
    PageNumber:
      name: page[number]
      description: Determines which page of the entities to retrieve.
      required: false
      in: query
      allowEmptyValue: true
      schema:
        type: integer
        example: 1
    FilterSCGWByLabels:
      name: labels
      description: Filter serverless cloud gateways in the response by associated labels.
      in: query
      required: false
      schema:
        type: string
        example: filter[labels][eq]=env:prod
  responses:
    ListServerlessCloudGatewaysResponse:
      description: A paginated list response for a collection of serverless cloud gateways.
      content:
        application/json:
          schema:
            type: object
            properties:
              meta:
                $ref: "#/components/schemas/PaginatedMeta"
              data:
                type: array
                items:
                  $ref: "#/components/schemas/ServerlessCloudGateway"
            title: ListServerlessCloudGatewaysResponse
          examples:
            Serverless cloud gateway Collection:
              $ref: "#/components/examples/ListServerlessCloudGatewaysResponseExample"
    Unauthorized:
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/UnauthorizedError"
          examples:
            UnauthorizedExample:
              $ref: "#/components/examples/UnauthorizedExample"
    Forbidden:
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ForbiddenError"
          examples:
            UnauthorizedExample:
              $ref: "#/components/examples/ForbiddenExample"
  schemas:
    PaginatedMeta:
      description: returns the pagination information
      type: object
      properties:
        page:
          $ref: "#/components/schemas/PageMeta"
      required:
        - page
      title: PaginatedMeta
    ServerlessCloudGateway:
      description: A serverless cloud gateway
      type: object
      properties:
        control_plane:
          $ref: "#/components/schemas/ServerlessControlPlane"
        gateway_endpoint:
          description: Endpoint for the serverless cloud gateway.
          type: string
          format: hostname
          example: us-kong-4594857kpl.kongcloud.dev
          readOnly: true
        created_at:
          type: string
          format: date-time
          example: 2023-01-11T02:30:42.227Z
          readOnly: true
        updated_at:
          type: string
          format: date-time
          example: 2023-01-11T02:30:42.227Z
          readOnly: true
        labels:
          $ref: "#/components/schemas/SCGWLabels"
      required:
        - control_plane
        - gateway_endpoint
        - updated_at
        - created_at
      title: ServerlessCloudGateway
    UnauthorizedError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 401
            title:
              example: Unauthorized
            type:
              example: https://httpstatuses.com/401
            instance:
              example: kong:trace:1234567890
            detail:
              example: Invalid credentials
    ForbiddenError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 403
            title:
              example: Forbidden
            type:
              example: https://httpstatuses.com/403
            instance:
              example: kong:trace:1234567890
            detail:
              example: Forbidden
    PageMeta:
      description: Contains pagination query parameters and the total number of
        objects returned.
      type: object
      properties:
        number:
          type: number
          example: 1
        size:
          type: number
          example: 10
        total:
          type: number
          example: 100
      required:
        - number
        - size
        - total
    ServerlessControlPlane:
      type: object
      properties:
        id:
          description: ID of the serverless cloud gateway CP.
          type: string
          format: uuid
          example: d32d905a-ed33-46a3-a093-d8f536af9a8a
        prefix:
          description: The prefix of the serverless cloud gateway CP.
          type: string
          example: 518da50bf7
        region:
          $ref: "#/components/schemas/CpRegion"
      required:
        - id
        - prefix
        - region
      title: Control plane
      x-go-name: ControlPlane
    SCGWLabels:
      description: Labels to facilitate tagged search on serverless cloud gateways.
        Keys must be of length 1-63 characters, and cannot start with 'kong',
        'konnect', 'mesh', 'kic', or '_'.
      type: object
      example:
        env: test
      additionalProperties:
        type: string
        pattern: ^[a-z0-9A-Z]{1}([a-z0-9A-Z\-\.\_]*[a-z0-9A-Z]+)?$
        minLength: 1
        maxLength: 63
      title: Labels
    BaseError:
      description: standard error
      type: object
      properties:
        status:
          description: >
            The HTTP status code of the error. Useful when passing the response

            body to child properties in a frontend UI. Must be returned as an
            integer.
          type: integer
          readOnly: true
        title:
          description: |
            A short, human-readable summary of the problem. It should not
            change between occurences of a problem, except for localization.
            Should be provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
        type:
          description: The error type.
          type: string
          readOnly: true
        instance:
          description: |
            Used to return the correlation ID back to the user, in the format
            kong:trace:<correlation_id>. This helps us find the relevant logs
            when a customer reports an issue.
          type: string
          readOnly: true
        detail:
          description: >
            A human readable explanation specific to this occurence of the
            problem.

            This field may contain request/entity data to help the user
            understand

            what went wrong. Enclose variable values in square brackets. Should
            be

            provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
      required:
        - status
        - title
        - instance
        - detail
      title: Error
    CpRegion:
      description: The control plane region.
      type: string
      example: us
      enum:
        - us
        - eu
        - au
      title: Control plane region
      x-enum-varnames:
        - US
        - Europe
        - Aus
  examples:
    ListServerlessCloudGatewaysResponseExample:
      value:
        meta:
          page:
            total: 2
            size: 100
            number: 1
        data:
          - control_plane:
              id: d32d905a-ed33-46a3-a093-d8f536af9a8a
              prefix: 518da50bf7
              region: eu
            gateway_endpoint: kong-518da50bf7euab123.kongcloud.dev
            created_at: 2022-11-04T20:10:06.927Z
            updated_at: 2022-11-04T20:10:06.927Z
            labels:
              env: prod
          - control_plane:
              id: 7f9fd312-a987-4628-b4c5-bb4f4fddd5f7
              prefix: 628pl51cg1
              region: eu
            gateway_endpoint: kong-628pl51cg1euab123.kongcloud.dev
            created_at: 2023-12-04T20:10:06.927Z
            updated_at: 2024-09-01T21:10:06.927Z
            labels:
              env: test
    UnauthorizedExample:
      value:
        status: 401
        title: Unauthorized
        instance: kong:trace:8347343766220159418
        detail: Unauthorized
    ForbiddenExample:
      value:
        status: 403
        title: Forbidden
        instance: kong:trace:2723154947768991354
        detail: You do not have permission to perform this action
  securitySchemes:
    personalAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Token
      description: >
        The personal access token is meant to be used as an alternative to
        basic-auth when accessing Konnect via APIs.

        You can generate a Personal Access Token (PAT) from the [personal access
        token page](https://cloud.konghq.com/global/account/tokens/) in the
        Konnect dashboard.

        The PAT token must be passed in the header of a request, for example:

        `curl -X GET 'https://global.api.konghq.com/v2/users/' --header
        'Authorization: Bearer kpat_xgfT...'`
    systemAccountAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Token
      description: >
        The system account access token is meant for automations and
        integrations that are not directly associated with a human identity.

        You can generate a system account Access Token by creating a system
        account and then obtaining a system account access token for that
        account.

        The access token must be passed in the header of a request, for example:

        `curl -X GET 'https://global.api.konghq.com/v2/users/' --header
        'Authorization: Bearer spat_i2Ej...'`
```
