Skip to main content
GET
/
projects
/
{project_id}
/
logs
Paginated TSDB logs for a project (requires can_read_logs).
curl --request GET \
  --url https://api.ilyama.golain.io/core/api/v1/projects/{project_id}/logs \
  --header 'Authorization: Bearer <token>' \
  --header 'ORG-ID: <api-key>'
{
  "data": {
    "logs": [
      {}
    ]
  },
  "meta": {
    "current_page": 123,
    "items_per_page": 123,
    "total_items": 123,
    "total_pages": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ORG-ID
string
header
required

Path Parameters

project_id
string<uuid>
required

Query Parameters

page
integer
default:1
Required range: x >= 1
limit
integer
default:50
Required range: 1 <= x <= 500
start
string
end
string
level
string

Comma-separated levels

device
string

Comma-separated device UUIDs mapped to resource_id

func
string

Comma-separated function names

fleet
string

Comma-separated fleet UUIDs mapped to trace_id

Response

Logs page

data
object
required
meta
object
required

Pagination metadata for list endpoints (snake_case keys).

ok
enum<integer>
required
Available options:
1