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

# Top-N slowest tools by p95



## OpenAPI

````yaml /api-reference/openapi.json get /v1/analytics/tools/performance/by-tool
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/analytics/tools/performance/by-tool:
    get:
      tags:
        - analytics
      summary: Top-N slowest tools by p95
      operationId: getToolPerformanceByTool
      parameters:
        - name: tool_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Tool Type
        - name: revision_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Revision Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 10
            title: Limit
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Start Date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
            title: End Date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LatencyByToolRow'
                title: Response Gettoolperformancebytool
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    LatencyByToolRow:
      properties:
        tool_id:
          type: string
          title: Tool Id
        tool_name:
          type: string
          title: Tool Name
        tool_type:
          type: string
          title: Tool Type
        provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider
        invocations:
          type: integer
          title: Invocations
        p50_ms:
          type: number
          title: P50 Ms
        p90_ms:
          type: number
          title: P90 Ms
        p95_ms:
          type: number
          title: P95 Ms
        p99_ms:
          type: number
          title: P99 Ms
        avg_ms:
          type: number
          title: Avg Ms
        max_ms:
          type: number
          title: Max Ms
      type: object
      required:
        - tool_id
        - tool_name
        - tool_type
        - invocations
        - p50_ms
        - p90_ms
        - p95_ms
        - p99_ms
        - avg_ms
        - max_ms
      title: LatencyByToolRow
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````