Query Telemetry

Returns OTLP logs records

post/api/logs

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/logs
  • Auth: none declared

Request body

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Example request

{
  "filter": [
    {
      "key": "service.name",
      "operator": "is",
      "value": "foo"
    }
  ],
  "timeRange": {
    "from": "now-30m",
    "to": "now"
  },
  "sampling": {
    "timeRange": {
      "from": "now-30m",
      "to": "now"
    }
  },
  "pagination": {
    "limit": 10
  }
}

Response

Returns log records in OTLP format.

executionTimestring date-time

A fixed point in time represented as an RFC 3339 date-time string.

Format: YYYY-MM-DDTHH:MM:SSZ (UTC) or YYYY-MM-DDTHH:MM:SS±HH:MM (with timezone offset)

Examples:

  • 2024-01-15T14:30:00Z
  • 2024-01-15T14:30:00+08:00

Changes

No recorded changes to this operation across all 1 revision of this API.