---
title: "Get Observability Logs Exceptions"
method: GET
path: "/agentic/observability/logs/exceptions"
tags: ["Agents Observability"]
---

# Get Observability Logs Exceptions

`GET /agentic/observability/logs/exceptions`

Recent Flink-side exceptions for the entity's current job.

Pulls from the Flink REST ``/jobs/{jid}/exceptions`` endpoint, not
ClickHouse — exceptions are JM state, not a log row stream.
Returns ``exceptions=[]`` (NOT 404) when the entity has no live
Flink job — a draft agent / KB and a recently-cancelled one are
both valid scopes with nothing to surface.

## Query parameters

- `agent_id` string, required — Agent or knowledge base id

## Response `200`

Successful Response

- ObservabilityFlinkExceptionsResponse — `/agentic/observability/logs/exceptions` response envelope. Empty list when the job isn't currently running (no ``flink_job_id``); the endpoint returns 200 with ``exceptions=[]`` rather than 404 — a just-created or just-cancelled job is a valid scope, just one with nothing to surface from the JM REST.
  - `exceptions` ObservabilityFlinkException[], required
    - `timestamp` string, required
    - `exception` string, required
    - `task` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/versions/8aea6143d003/schema)
