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

# Get log entries of an incoming run of a route

> Retrieves the log entries of one run of the incoming configuration of a route, limited to entries relevant to this route. Returns a 404 when the route does not exist. Returns an empty result when there are no matching log entries.



## OpenAPI

````yaml /schema.json get /routes/{identifier}/incoming-logs/{run}
openapi: 3.1.0
info:
  version: 01M732K6KS2BC0GCRAAM8D44R5
  title: Alumio API
  description: Access Alumio through OpenAPI v3.1.
servers:
  - url: /api/v1
security: []
paths:
  /routes/{identifier}/incoming-logs/{run}:
    get:
      tags:
        - ProcessLogs
      summary: Get log entries of an incoming run of a route
      description: >-
        Retrieves the log entries of one run of the incoming configuration of a
        route, limited to entries relevant to this route. Returns a 404 when the
        route does not exist. Returns an empty result when there are no matching
        log entries.
      operationId: getRouteIncomingRunLogs
      parameters:
        - name: identifier
          in: path
          description: Route identifier
          required: true
          schema:
            type: string
        - name: run
          in: path
          description: Run identifier, the key of a run in the incoming runs of the route
          required: true
          schema:
            type: string
        - name: from
          in: query
          description: >-
            Offset of the first entry. Together with size it cannot exceed
            10000; use search_after for deeper pages.
          required: false
          schema:
            type: integer
            default: 0
            minimum: 0
        - name: size
          in: query
          description: Number of entries per page.
          required: false
          schema:
            type: integer
            default: 100
            minimum: 0
            maximum: 100
        - name: search_after
          in: query
          description: >-
            JSON encoded sort values of the last entry of the previous page, as
            found in its sort property. When given, from is ignored.
          required: false
          schema:
            type: string
        - name: level
          in: query
          description: >-
            Minimum log level: 100 debug, 200 info, 250 notice, 300 warning, 400
            error, 500 critical, 550 alert, 600 emergency.
          required: false
          schema:
            type: integer
            default: 200
        - name: order
          in: query
          description: Chronological order of the entries.
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: asc
        - name: filter
          in: query
          description: >-
            JSON encoded search criteria applied to the log entries, for example
            {"where":{"@timestamp":{"gte":"2026-01-01T00:00:00Z"}}}.
          required: false
          schema:
            type: string
        - name: space
          in: query
          description: Space Identifier
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogEntryListResult'
        '404':
          description: The route does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LogEntryListResult:
      type: object
      properties:
        metadata:
          $ref: '#/components/schemas/ActionMetaData'
        results:
          type: array
          items:
            $ref: '#/components/schemas/LogEntry'
    Error:
      type: object
      properties:
        status:
          type: string
        context:
          type: object
        type:
          type: string
        title:
          type: string
        detail:
          type: string
        violations:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              propertyPath:
                type: string
              type:
                type: string
    ActionMetaData:
      type: object
      properties:
        totalCount:
          type: integer
          format: int32
          description: Total count of items that match the criteria.
    LogEntry:
      type: object
      description: A log entry as stored in Elasticsearch.
      properties:
        _index:
          type: string
          description: Index that holds the entry.
        _id:
          type: string
          description: Identifier of the entry.
        _source:
          type: object
          additionalProperties: true
          description: >-
            The log document: @timestamp, @message and @fields with the level,
            scope, trace, context and tags.
        sort:
          type: array
          items:
            oneOf:
              - type: number
              - type: string
          description: >-
            Sort values of the entry. Pass the values of the last entry of a
            page as search_after to fetch the next page.
      additionalProperties: true

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.