Skip to content
Streamkap
Esc
navigateopen⌘Jpreview

Get Observability Agents

Agent activity rollup over the selected window (default last 24h).

One row per Streamkap agent (joined with MongoDB agents for the friendly name) plus one per (project_key_id, client_id) external pseudo-agent. Streamkap counts combine MCP-server calls (streamkap_mcp_log) with agent-runtime trace activity (agent_traces), so an agent that only processes records still surfaces a real count. The FE passes its selected range so the sidebar matches the active view. Sorted newest-active-first.

GET/agentic/observability/agents
Authorization
AuthorizationBearer token · headerrequired
Query parameters
fromstring | any

Time range start (ISO 8601); default last 24h

tostring | any

Time range end (ISO 8601)

Responses
200

Successful Response

Array of ObservabilityAgentRollupItem
idstringrequired
kindstringrequired
Allowed:streamkapexternal
labelstringrequired
last_call_atstring<date-time> | any
Show properties
Any of:
string<date-time>
string<date-time>
any
any
calls_24hinteger
default: 0
error_count_24hinteger
default: 0
top_error_code_24hstring | 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/agents" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
[
  {
    "id": "string",
    "kind": "streamkap",
    "label": "string",
    "last_call_at": "2019-08-24T14:15:22Z",
    "calls_24h": 0,
    "error_count_24h": 0,
    "top_error_code_24h": "string"
  }
]