Roboflow Logs API

The Logs API from Roboflow — 1 operation(s) for logs.

OpenAPI Specification

roboflow-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roboflow Inference Server Logs API
  description: Roboflow inference server
  termsOfService: https://roboflow.com/terms
  contact:
    name: Roboflow Inc.
    url: https://roboflow.com/contact
    email: help@roboflow.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.3.8
tags:
- name: Logs
paths:
  /logs:
    get:
      summary: Get Recent Logs
      description: Get recent application logs for debugging
      operationId: get_logs_logs_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Maximum number of log entries to return
          default: 100
          title: Limit
        description: Maximum number of log entries to return
      - name: level
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
          title: Level
        description: Filter by log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
      - name: since
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Return logs since this ISO timestamp
          title: Since
        description: Return logs since this ISO timestamp
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Logs
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError