> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamkap.com/llms.txt
> Use this file to discover all available pages before exploring further.

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



## OpenAPI

````yaml /openapi/openapi.json get /agentic/observability/agents
openapi: 3.1.0
info:
  title: Streamkap REST API
  description: >-
    The Streamkap REST API allows you to programmatically manage your CDC
    pipelines, sources, destinations, transforms, and more.


    Authenticate using a bearer token obtained from the [Access
    Token](/api-reference/auth/access-token) endpoint with your API client
    credentials.
  contact:
    name: Streamkap Support
    url: https://streamkap.com/
    email: support@streamkap.com
  license:
    name: Proprietary
  version: 2.0.0
servers:
  - url: https://api.streamkap.com
    description: Production
security: []
tags:
  - name: Agents
    description: Create, deploy, and manage Flink-based AI agents.
  - name: Agents Observability
    description: >-
      Read-only views over the MCP audit log: agent rollup, sessions, spans,
      histograms, external-agent verify.
  - name: Alerts
    description: Manage alert subscribers, preferences, and notification credentials.
  - name: Authentication
    description: Obtain and refresh access tokens, manage client credentials and roles.
  - name: Billing
    description: Retrieve usage metrics, summaries, and export billing data.
  - name: Consumer Groups
    description: List, inspect, and reset Kafka consumer group offsets.
  - name: Dashboard
    description: Retrieve organisation-level statistics and overview data.
  - name: Destinations
    description: Create, configure, and manage data destinations and their lifecycle.
  - name: Kafka Access
    description: Manage Kafka users and their access permissions.
  - name: Logs
    description: Query and summarise system logs.
  - name: Pipelines
    description: Create, configure, and manage CDC pipelines and their lifecycle.
  - name: Project Keys
    description: Manage project keys that bundle API credentials and optional Kafka access.
  - name: Schema Registry
    description: Browse schema subjects, versions, and retrieve schema definitions.
  - name: Services
    description: View and switch service metadata.
  - name: Sources
    description: >-
      Create, configure, and manage data sources, snapshots, and their
      lifecycle.
  - name: Tags
    description: Create, update, and manage resource tags for organisation.
  - name: Topics
    description: Browse topic details, statistics, configurations, metrics, and messages.
  - name: Transforms
    description: >-
      Create, deploy, and manage data transforms, unit tests, and implementation
      details.
paths:
  /agentic/observability/agents:
    get:
      tags:
        - Agents Observability
      summary: Get Observability Agents
      description: >-
        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.
      operationId: getAgenticObservabilityAgents
      parameters:
        - name: from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Time range start (ISO 8601); default last 24h
            title: From
          description: Time range start (ISO 8601); default last 24h
        - name: to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Time range end (ISO 8601)
            title: To
          description: Time range end (ISO 8601)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ObservabilityAgentRollupItem'
                title: Response Getagenticobservabilityagents
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - FronteggHTTPAuthentication: []
components:
  schemas:
    ObservabilityAgentRollupItem:
      properties:
        id:
          type: string
          title: Id
        kind:
          type: string
          enum:
            - streamkap
            - external
          title: Kind
        label:
          type: string
          title: Label
        last_call_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Call At
        calls_24h:
          type: integer
          title: Calls 24H
          default: 0
        error_count_24h:
          type: integer
          title: Error Count 24H
          default: 0
        top_error_code_24h:
          anyOf:
            - type: string
            - type: 'null'
          title: Top Error Code 24H
      additionalProperties: false
      type: object
      required:
        - id
        - kind
        - label
      title: ObservabilityAgentRollupItem
      description: |-
        One row in the agent rollup list.

        ``id`` is either a Mongo ObjectId string for ``kind="streamkap"`` or
        the synthetic ``external:<pk>:<cid>`` form for ``kind="external"``.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    FronteggHTTPAuthentication:
      type: http
      scheme: bearer

````