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

# List Api Requests

> Returns a list of API requests. Supports filtering by time range, column filters, and search terms. At least one of start_time or end_time must be provided. An optional sort parameter controls timestamp ordering. Results are ordered by timestamp. Descending if end_time is used, ascending if start_time is used. The response is a tabular structure with columns, column_types, column_units, and rows.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/workspace/analytics/requests
openapi: 3.1.0
info:
  title: Threetone API Documentation
  description: >-
    This is the documentation for the Threetone API. You can use this API to use
    our service programmatically with API keys sent in the x-api-key header. You
    can create and manage API keys in the dashboard at
    https://threetone.in/app/developers/api-keys.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/workspace/analytics/requests:
    post:
      tags:
        - access:all
      summary: List Api Requests
      description: >-
        Returns a list of API requests. Supports filtering by time range, column
        filters, and search terms. At least one of start_time or end_time must
        be provided. An optional sort parameter controls timestamp ordering.
        Results are ordered by timestamp. Descending if end_time is used,
        ascending if start_time is used. The response is a tabular structure
        with columns, column_types, column_units, and rows.
      operationId: requests_list
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Body_List_API_requests_v1_workspace_analytics_requests_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceAnalyticsQueryResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_List_API_requests_v1_workspace_analytics_requests_post:
      properties:
        start_time:
          anyOf:
            - type: integer
              minimum: 1577836800000
            - type: 'null'
          title: Start Time
          description: Start of the time range as a Unix timestamp in milliseconds.
        end_time:
          anyOf:
            - type: integer
              minimum: 1577836800000
            - type: 'null'
          title: End Time
          description: End of the time range as a Unix timestamp in milliseconds.
        limit:
          type: integer
          maximum: 1000
          minimum: 1
          title: Limit
          default: 100
        sort:
          anyOf:
            - type: string
              enum:
                - asc
                - desc
            - type: 'null'
          title: Sort
          description: >-
            Optional timestamp sort direction. If omitted, defaults to desc when
            end_time is provided, otherwise asc.
        filters:
          anyOf:
            - items:
                $ref: '#/components/schemas/ColumnFilter'
              type: array
            - type: 'null'
          title: Filters
        search:
          anyOf:
            - type: string
            - type: 'null'
          title: Search
      type: object
      title: Body_List_API_requests_v1_workspace_analytics_requests_post
    WorkspaceAnalyticsQueryResponseModel:
      properties:
        columns:
          items:
            type: string
          type: array
          title: Columns
        column_types:
          items:
            type: string
            enum:
              - String
              - Float
              - DateTime
              - Int
              - Bool
              - JSON
              - Map
              - Array
          type: array
          title: Column Types
        rows:
          items:
            items:
              anyOf:
                - type: string
                - type: integer
                - type: number
                - type: boolean
                - type: string
                  format: date-time
                - type: 'null'
            type: array
          type: array
          title: Rows
        column_units:
          items:
            anyOf:
              - $ref: '#/components/schemas/ColumnUnit'
              - type: 'null'
          type: array
          title: Column Units
      type: object
      required:
        - columns
        - column_types
        - rows
        - column_units
      title: WorkspaceAnalyticsQueryResponseModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ColumnFilter:
      properties:
        column:
          type: string
          title: Column
        operation:
          type: string
          enum:
            - in
            - not_in
            - le
            - ge
            - lt
            - gt
            - eq
            - neq
          title: Operation
        values:
          items:
            anyOf:
              - type: string
              - type: integer
              - type: number
              - type: string
                format: date-time
              - type: boolean
              - type: 'null'
          type: array
          title: Values
      type: object
      required:
        - column
        - operation
        - values
      title: ColumnFilter
    ColumnUnit:
      type: string
      enum:
        - ms
        - s
        - min
        - duration
        - credits
        - usd
        - eur
        - inr
        - pln
        - gbp
        - ratio
        - rating
      title: ColumnUnit
    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

````