curl -X GET "https://api.nevia.cloud/v1/logs" \
-H "Authorization: Bearer $TOKEN"{
"logs": [
{
"id": "e3b0c44298fc1c14",
"time": "2026-09-10T12:34:56Z",
"type": "event",
"event": "slept",
"stream": "stdout",
"severity": "info",
"body": "Slept on request",
"reason": "requested",
"resource": {
"id": "01d4cnjmn4fbb1r5btxb5mypv62",
"kind": "computer",
"name": "atlas-build",
"workspace": "01d4cnjjq40hnnh0nwmkg35nv2h",
"project": "01ck8y1dm5qqnf88mytnh4m0h4g"
},
"actor": "01d4cnjmn4fbb1r5btxb5mypv62",
"operation": "01d4cnjm89yk0r3xtv80dy0x7by",
"process": "string",
"trace_id": "string",
"attributes": {}
}
],
"next_cursor": "string",
"has_more": true,
"window": {
"from": "2026-09-10T12:34:56Z",
"to": "2026-09-10T12:34:56Z"
},
"unreported": {
"metrics": [
"memory"
],
"used": [
"memory"
],
"events": [
"slept"
],
"streams": [
"stdout"
],
"destinations": true
},
"console_url": "https://nevia.aiven.io/computers/01d4cnjmn4fbb1r5btxb5mypv62/logs?ws=01d4cnjjq40hnnh0nwmkg35nv2h&from=2026-11-28T02%3A46%3A58.000Z&to=2026-11-28T03%3A46%3A58.000Z"
}Authorization
bearerAuth Send the token in the Authorization: Bearer <token> header. See Authenticate.
In: header
Query Parameters
Workspace ids or exact names. A deleted workspace is selected by its id only. When one is absent the answer covers every workspace the caller can see.
Computer or database ids, or their exact names together with workspace.
Project ids. The answer covers the computers and databases in those projects, deleted ones included, and a member scoped to a project can read it. With resource, each resource must be in one of them.
computer · databaseWhen present, the answer covers only resources of this kind.
Window start, RFC 3339, inclusive. Defaults to one hour before to.
date-timeWindow end, RFC 3339, exclusive. Defaults to now.
date-timeevent · outputWhat kind of record it is.
event: Something that happened to the resource, written by Nevia.output: Text the resource printed, on astream.
Only these events. Implies type=event.
Only records that contain this text, ignoring case, in what a record shows: its body, its type, its event or stream, or its resource's id or name.
1 <= length <= 200Page size
1 <= value <= 500100next_cursor from the previous page. The page walks that page's window, whatever from and to say. A cursor whose window starts more than an hour before the 7-day reach back is refused with 400 validation_failed: start the read again.
Behavior
The scope is the one GET /v1/usage takes. Without workspace, it is every workspace you can see. With project, it is the resources in those projects, which a member scoped to a project can read. With resource, it is those resources. An event record is one thing that happened, written by Nevia, with a reason when one is known. actor and operation are not reported yet and are null. An output record is the line a resource printed, with its stream. unreported.streams in the answer lists the streams this deployment does not report. The window defaults to the hour before to and may span at most 7 days. A read reaches back at most 7 days: a from further back than that reads from 7 days ago, and window in the answer says so. Page older with next_cursor. console_url opens the same scope, window and filters in the console. Answers 503 not_supported where logs are not deployed.
Response
application/jsonThe records, newest first.