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

# Get proxy logs for a specific app

> Get paginated proxy logs for a specific app



## OpenAPI

````yaml /swagger/5.12/ai-studio-swagger.yml get /analytics/proxy-logs-for-app
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /analytics/proxy-logs-for-app:
    get:
      tags:
        - Analytics
      summary: Get proxy logs for a specific app
      description: Get paginated proxy logs for a specific app
      parameters:
        - name: start_date
          in: query
          description: Start date (YYYY-MM-DD)
          required: true
          schema:
            type: string
        - name: end_date
          in: query
          description: End date (YYYY-MM-DD)
          required: true
          schema:
            type: string
        - name: app_id
          in: query
          description: App ID
          required: true
          schema:
            type: integer
        - name: page
          in: query
          description: 'Page number (default: 1)'
          schema:
            type: integer
        - name: page_size
          in: query
          description: 'Page size (default: 10)'
          schema:
            type: integer
        - name: search
          in: query
          description: Search term for request/response body
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.PaginatedProxyLogs'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
components:
  schemas:
    models.PaginatedProxyLogs:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/models.ProxyLogResponse'
        meta:
          type: object
          properties:
            page_number:
              type: integer
            page_size:
              type: integer
            total_count:
              type: integer
            total_pages:
              type: integer
    models.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
    models.ProxyLogResponse:
      type: object
      properties:
        attributes:
          type: object
          properties:
            app_id:
              type: integer
            request_body:
              type: string
            response_body:
              type: string
            response_code:
              type: integer
            time_stamp:
              type: string
            user_id:
              type: integer
            vendor:
              type: string
        id:
          type: string
        type:
          type: string

````