Skip to main content
GET
Get Agent Logs

Authorizations

Authorization
string
header
required

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

Path Parameters

job_id
string
required

Query Parameters

tail
integer
default:100
level
string
default:INFO
search
string | null
since
string | null

Response

Successful Response

Combined response for GET /agents/{id}/logs.

lines are tailed and parsed agent log lines from the Flink TaskManager pods in the tenant's namespace; see :class:FlinkClusterClient.get_taskmanager_logs for per-line scoping caveats. flink_exceptions are pulled from the Flink REST /jobs/{jid}/exceptions endpoint when the job is live.

lines
AgentLogLine · object[]
scope
enum<string>
default:namespace

Per-line scoping of returned lines. namespace means lines may include [AGENT] entries from other agents sharing a TaskManager (current limitation). agent will be returned once the Java runtime emits per-line agent IDs.

Available options:
namespace,
agent