Skip to main content
GET
/
api
/
v2
/
external
/
logs
/
execution
/
{execution_id}
Get Execution Logs
curl --request GET \
  --url https://api.lyceum.technology/api/v2/external/logs/execution/{execution_id} \
  --header 'Authorization: Bearer <token>'
{
  "logs": [
    {
      "timestamp": "<string>",
      "message": "<string>",
      "level": "<string>",
      "execution_id": "<string>",
      "user_id": "<string>",
      "hostname": "<string>",
      "labels": {}
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Path Parameters

execution_id
string
required

Query Parameters

limit
integer
default:1000

Maximum number of log entries to return

Required range: 1 <= x <= 10000
hours
integer
default:24

Number of hours to look back

Required range: 1 <= x <= 168

Response

Successful Response

Response model for log queries.

logs
LogEntry · object[]
required
total
integer
required