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

# Get response times

> Get average and median resolution time and human response time after transfer.



## OpenAPI

````yaml https://api.useinvent.com/openapi.json get /orgs/{org_id}/analytics/response-times
openapi: 3.1.0
info:
  version: 1.0.0
  title: Invent API
servers:
  - url: https://api.useinvent.com
security:
  - bearerAuth: []
tags:
  - name: Inbox
  - name: Chats
  - name: Messages
  - name: Contacts
  - name: Custom channels
  - name: Segments
  - name: Suppressions
  - name: Assistants
  - name: Agents
  - name: Skills
  - name: Knowledge
  - name: AI
  - name: Broadcasts
  - name: Email sending
  - name: WhatsApp
  - name: WhatsApp Meta agent
  - name: Tables
  - name: Records
  - name: Views
  - name: Pages
  - name: Connections
  - name: Workspace
  - name: Sub-organizations
  - name: Analytics and logs
  - name: Workflows
paths:
  /orgs/{org_id}/analytics/response-times:
    get:
      tags:
        - Analytics and logs
      summary: Get response times
      description: >-
        Get average and median resolution time and human response time after
        transfer.
      parameters:
        - schema:
            type: string
          required: true
          name: org_id
          in: path
        - schema:
            type:
              - string
              - 'null'
            format: date-time
            title: From
            description: Start of the range (ISO 8601 date). Omit for all time.
          required: false
          description: Start of the range (ISO 8601 date). Omit for all time.
          name: from_date
          in: query
        - schema:
            type:
              - string
              - 'null'
            format: date-time
            title: To
            description: End of the range (ISO 8601 date). Omit for up to now.
          required: false
          description: End of the range (ISO 8601 date). Omit for up to now.
          name: to_date
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseTimesSchema'
components:
  schemas:
    ResponseTimesSchema:
      type: object
      properties:
        avg_resolution_seconds:
          type:
            - number
            - 'null'
        median_resolution_seconds:
          type:
            - number
            - 'null'
        p90_resolution_seconds:
          type:
            - number
            - 'null'
        total_resolved:
          type: number
        avg_human_response_seconds:
          type:
            - number
            - 'null'
        median_human_response_seconds:
          type:
            - number
            - 'null'
        p90_human_response_seconds:
          type:
            - number
            - 'null'
        total_transfers:
          type: number
        unanswered_transfers:
          type: number
      required:
        - avg_resolution_seconds
        - median_resolution_seconds
        - p90_resolution_seconds
        - total_resolved
        - avg_human_response_seconds
        - median_human_response_seconds
        - p90_human_response_seconds
        - total_transfers
        - unanswered_transfers
      description: >-
        Resolution time and human response time analytics, computed from
        recorded lifecycle timestamps (closed_at, first_transferred_at, member
        first replies)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Bearer token authentication using your API key

````