Datadog · JSON Structure

Datadog Logs Logs List Request Structure

Request body for searching log events

Type: object Properties: 3
AnalyticsDashboardsMonitoringPlatformT1Visualizations

LogsListRequest is a JSON Structure definition published by Datadog, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

filter sort page

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-structure/datadog-logs-logs-list-request-structure.json",
  "name": "LogsListRequest",
  "description": "Request body for searching log events",
  "type": "object",
  "properties": {
    "filter": {
      "$ref": "#/components/schemas/LogsQueryFilter"
    },
    "sort": {
      "type": "string",
      "description": "The sort order for log results, either ascending or descending by timestamp",
      "enum": [
        "timestamp",
        "-timestamp"
      ],
      "example": "timestamp"
    },
    "page": {
      "type": "object",
      "description": "Pagination configuration for log search results",
      "properties": {
        "cursor": {
          "type": "string",
          "description": "A cursor token from a previous response to retrieve the next page of results"
        },
        "limit": {
          "type": "int32",
          "description": "The maximum number of logs to return per page (default 10, max 1000)",
          "minimum": 1,
          "maximum": 1000,
          "default": 10
        }
      }
    }
  }
}