Skip to content
Streamkap
Esc
navigateopen⌘Jpreview

Get 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.

GET/agentic/observability/logs/exceptions
Authorization
AuthorizationBearer token · headerrequired
Query parameters
agent_idstringrequired

Agent or knowledge base id

Responses
200

Successful Response

exceptionsObservabilityFlinkException[]required
Show properties
Array of ObservabilityFlinkException
timestampstringrequired
exceptionstringrequired
taskstring | any
Show properties
Any of:
string
string
any
any
422

Validation Error

detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X GET "https://api.streamkap.com/agentic/observability/logs/exceptions?agent_id=string" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "exceptions": [
    {
      "timestamp": "string",
      "exception": "string",
      "task": "string"
    }
  ]
}