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

# Stream log entries over SSE

> Server-sent event stream of log entries as they are emitted. Frames carry an id (<timestamp>:<seq>); clients can pass it back as the Last-Event-ID header on reconnect to receive only entries strictly newer than it.



## OpenAPI

````yaml /openapi.json get /logs/stream
openapi: 3.0.0
info:
  title: Cyrnel API
  description: >-
    Cyrnel is a universal layer that connects AI agents and LLM applications to
    any external service, API, or device regardless of protocol or standard. It
    acts as an adaptive bridge between your AI and the outside world, enabling
    seamless integrations through code execution, async operation handling, and
    built-in observability and security controls.
  version: 1.0.0
servers:
  - url: http://localhost:9371
security: []
paths:
  /logs/stream:
    get:
      tags:
        - Logs
      summary: Stream log entries over SSE
      description: >-
        Server-sent event stream of log entries as they are emitted. Frames
        carry an id (<timestamp>:<seq>); clients can pass it back as the
        Last-Event-ID header on reconnect to receive only entries strictly newer
        than it.
      parameters:
        - schema:
            type: string
            description: Resume cursor; only entries strictly newer than it are replayed.
          required: false
          description: Resume cursor; only entries strictly newer than it are replayed.
          name: last-event-id
          in: header
      responses:
        '200':
          description: Server-sent event stream of log entries.
          content:
            text/event-stream:
              schema:
                type: string
                description: >-
                  SSE frame: `id: <timestamp>:<seq>` + `event: log` + `data:
                  <LogEntry>`.
        '401':
          description: A bearer token was required but missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '429':
          description: >-
            Rate limit exceeded. The request was throttled. Check Retry-After
            header.
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
              description: Maximum requests allowed in the current window.
            X-RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            X-RateLimit-Reset:
              schema:
                type: integer
              description: Unix timestamp when the window resets.
            Retry-After:
              schema:
                type: integer
              description: Seconds to wait before retrying.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitErrorResponse'
        '503':
          description: >-
            Log stream unavailable (logging disabled) or too many log stream
            subscribers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    ApiErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message returned by the API.
        code:
          type: string
          description: >-
            Stable machine-readable error code (e.g. invalid_cursor,
            cursor_expired).
      required:
        - error
      description: Standard error envelope returned by the HTTP error middleware.
    RateLimitErrorResponse:
      type: object
      properties:
        error:
          type: string
          enum:
            - rate_limit_exceeded
          description: Error code identifying rate-limit rejection.
        message:
          type: string
          description: Human-readable message with retry instructions.
        retryAfter:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          description: Number of seconds to wait before retrying.
      required:
        - error
        - message
        - retryAfter
      description: Error body returned when a request is rate-limited (HTTP 429).

````