Get job logs.
ROLES: AUTOMATION_READ,AUTOMATION_ADMIN USER: true SERVICE ACCOUNT: true
Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Query Parameters
Number of rows to skip before pagination starts. Parsed from a query-string integer.
x >= 00
Maximum number of job log rows to return. Job logs are hard-capped at 1000 rows per request.
0 <= x <= 1000200
Include the total count in the response envelope. Accepts boolean query values such as true or false.
true
Job log filter tree as JSON. Valid log filter fields include time, operationTime, logId, severity, event, message, operationId, userId, duration, status, service, url, templateId, templatePath, error.
"{\"and\":[{\"field\":\"severity\",\"op\":\"eq\",\"value\":\"ERROR\"},{\"field\":\"message\",\"op\":\"ilike\",\"value\":\"%timeout%\"}]}"
Job log sort fields are time, operationTime, logId, severity, event, message. Job logs do not expose createdAt; use time or operationTime for chronological ordering.
"operationTime,logId"
Optional QueryWrapper DISTINCT ON logical fields as a JSON array string, indexed array query object, array, or legacy CSV. The wrapper rewrites selected distinct fields into distinct select items.
"category,global"
Job log response fields are fixed to logId, time, severity, event, message, args, operationTime. Custom field projection is ignored for this endpoint.
"[\"logId\",\"time\",\"severity\",\"event\",\"message\",\"args\",\"operationTime\"]"
Optional QueryWrapper join definitions as a JSON string or bracket-style query object. This is only honored by endpoints that explicitly enable dynamic joins, such as dynamic database data reads. Each join has table, alias, type (left or inner), and an on condition.
"[{\"table\":\"groups_users\",\"alias\":\"gu\",\"type\":\"left\",\"on\":{\"left\":\"gu.groupsGroupId\",\"op\":\"=\",\"right\":\"g.groupId\"}}]"
Optional QueryWrapper groupBy logical fields as a JSON array string, indexed array query object, array, or legacy CSV. Only honored when the endpoint enables dynamic grouping or already has grouped defaults.
"[\"category\",\"global\"]"
Optional QueryWrapper cast mapping as a JSON string or bracket-style query object. Keys are selected aliases or logical fields; values are database definition types such as TEXT, INTEGER, BIGINT, NUMERIC, BOOLEAN, DATE, TIMESTAMP, TIMESTAMPTZ, JSON, JSONB, or UUID where supported.
"{\"userCount\":\"INTEGER\"}"
Optional QueryWrapper CTE definitions as a JSON string or bracket-style query object. Only honored by endpoints that explicitly enable dynamic CTEs.
"[{\"name\":\"active_groups\",\"query\":{\"from\":{\"table\":\"groups\",\"alias\":\"g\",\"definition\":[]}}}]"
Enable QueryWrapper debug output for the request, including compiled SQL, bound params, and bounded EXPLAIN plans when the underlying query service supports it.
false
Response
OK.

