Skip to main content
GET
/
api
/
v1
/
projects
/
{project_slug}
/
data
/
logs
Query Project Logs
curl --request GET \
  --url https://api.example.com/api/v1/projects/{project_slug}/data/logs \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "app_id": "<string>",
      "environment": "<string>",
      "level": "<string>",
      "message": "<string>",
      "logger_name": "<string>",
      "payload": "<string>",
      "attributes": {}
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.apilens.ai/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.

Path Parameters

project_slug
string
required

Query Parameters

app_slugs
string | null
environment
string | null
since
string | null
until
string | null
levels
string | null
search
string | null
loggers
string | null
page
integer
default:1
page_size
integer
default:50

Response

200 - application/json

OK

items
LogItemResponse · object[]
required
total_count
integer
required
page
integer
required
page_size
integer
required