Generated at: November 11, 2026, 08:23 UTC
Get Log Records Responseobject 1 direct reference
Definition Response for POST /api/logs . The response contains the log records that match the request.
This API deliberately reuses the full OTLP JSON format for logs. This is done to aid compatibility
with existing OTLP consumers.
Attribute scope warnings. Only included when includeOTLPSchemaExtensions is true .
The property is only included when includeOTLPSchemaExtensions is true .
The property is only included when includeOTLPSchemaExtensions is true .
The cursors for the next sets of results. This property is included
to support pagination through the result set when additional pages are available.
There is one ResourceLogs per resource. This is aligned to the data most OTLP batching algorithms would
produce, where there is one ResourceLogs per resource. This is done to aid compatibility with existing
OTLP consumers.
ResourceLogs are NOT sorted. There is no guarantee that ResourceLogs are sorted or that
LogRecord s within them are sorted. However, it is guaranteed that all data is sorted across paged
requests.
Clients are advised to implement sorting within a page descending by the LogRecord 's timeUnixNano ,
observedTimeUnixNano and then id .
Used by 1 These schemas and endpoints reference this type directly.
json
OpenAPI source {
"description": "Response for `POST /api/logs`. The response contains the log records that match the request.\n\nThis API deliberately reuses the full OTLP JSON format for logs. This is done to aid compatibility\nwith existing OTLP consumers.\n",
"properties": {
"warnings": {
"description": "Attribute scope warnings. Only included when `includeOTLPSchemaExtensions` is `true`.",
"type": "array",
"items": {
"type": "string"
}
},
"executionTime": {
"$ref": "#/components/schemas/FixedTime",
"description": "The property is only included when `includeOTLPSchemaExtensions` is `true`."
},
"timeRange": {
"$ref": "#/components/schemas/TimeRange",
"description": "The property is only included when `includeOTLPSchemaExtensions` is `true`."
},
"cursors": {
"$ref": "#/components/schemas/NextCursors",
"description": "The cursors for the next sets of results. This property is included\nto support pagination through the result set when additional pages are available.\n"
},
"resourceLogs": {
"description": "There is one `ResourceLogs` per resource. This is aligned to the data most OTLP batching algorithms would\nproduce, where there is one `ResourceLogs` per resource. This is done to aid compatibility with existing\nOTLP consumers.\n\n`ResourceLogs` are **NOT** sorted. There is no guarantee that `ResourceLogs` are sorted or that\n`LogRecord`s within them are sorted. However, it is guaranteed that all data is sorted across paged\nrequests.\n\nClients are advised to implement sorting within a page descending by the `LogRecord`'s `timeUnixNano`,\n`observedTimeUnixNano` and then `id`.\n",
"type": "array",
"items": {
"$ref": "#/components/schemas/ResourceLogs"
}
}
},
"required": [
"resourceLogs"
]
}