---
title: "OrgScopedCGWLogSearchRequestSchema"
url: "https://nov18-dev.movespot.fyi/apis/konnect-dolly-apis-dev-1/versions/4ba55f2d-e3a2-486c-a018-16faa4e1afe4/schemas/OrgScopedCGWLogSearchRequestSchema"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-dolly-apis-dev-1/versions/4ba55f2d-e3a2-486c-a018-16faa4e1afe4.md

# OrgScopedCGWLogSearchRequestSchema

Schema for searching cloud gateway logs globally, extending base CGW search with control plane filtering.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Dolly APIs
  version: 1.0.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:
    CGWLogSearchRequestSchema:
      description: Base schema for searching cloud gateway logs.
      type: object
      properties:
        start:
          description: The start time for the log search query. Must be in RFC-3339 format.
          type: string
          format: date-time
        end:
          description: The end time for the log search query. Must be in RFC-3339 format.
          type: string
          format: date-time
        node_id:
          description: A list of data plane node IDs to filter logs.
          type: array
          items:
            type: string
            uniqueItems: true
            format: uuid
        order_by:
          $ref: "#/components/schemas/ControlPlaneLogsOrderBy"
      required:
        - start
        - end
    ControlPlaneLogsOrderBy:
      description: Specifies the sorting order for the logs in the response.
      type: object
      properties:
        field:
          description: The field to sort by. Can be either `timestamp`.
          type: string
          enum:
            - timestamp
        direction:
          description: The sorting direction. Can be `asc` for ascending or `desc` for
            descending order.
          type: string
          enum:
            - asc
            - desc
    OrgScopedCGWLogSearchRequestSchema:
      description: Schema for searching cloud gateway logs globally, extending base
        CGW search with control plane filtering.
      allOf:
        - $ref: "#/components/schemas/CGWLogSearchRequestSchema"
        - type: object
          properties:
            control_plane_id:
              description: A list of control plane IDs to filter logs.
              type: array
              items:
                type: string
                uniqueItems: true
                format: uuid
```
