---
title: "ByLabelSelector"
url: "https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8/schemas/ByLabelSelector"
---

> Full API specification: https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8.md

# ByLabelSelector

Entity selector that includes entities by `label` value.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    StringSelectorOperator:
      type: string
      enum:
        - eq
        - contains
    ByLabelSelector:
      type: object
      description: Entity selector that includes entities by `label` value.
      required:
        - selector
        - selector_parameters
      properties:
        selector:
          type: string
          enum:
            - label
        selector_parameters:
          type: object
          required:
            - operator
            - value
            - label_key
          properties:
            operator:
              $ref: "#/components/schemas/StringSelectorOperator"
            value:
              type: string
            label_key:
              type: string
          title: LabelSelectorParams
```
