Telemetry Logs

Query log records with optional filters.

Changed on
get/otel/logs

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Query parameters

project_idinteger required

Project ID

severitystring

Filter by severity (TRACE, DEBUG, INFO, WARN, ERROR, FATAL)

service_namestring

Filter by service name

searchstring

Full-text search in log body (ILIKE)

attribute_keystring

Exact attribute key; pair with attribute_value

attribute_valuestring

Exact string or numeric text, preserving int64 precision

attribute_type'string' | 'boolean' | 'integer' | 'double' | 'array' | 'object' | 'bytes'

Optional native declared type; older records without type metadata do not match

attribute_op'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte'

Default eq; numeric types also support lt/lte/gt/gte

trace_idstring

Filter by correlated trace ID

start_timestring

Start time (RFC 3339)

end_timestring

End time (RFC 3339)

limitinteger

Max logs to return (default: 100, max: 1000)

offsetinteger

Offset for pagination

Response

Log records

countinteger required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision