Reclaim.ai Analytics API

The analytics API from Reclaim.ai — 10 operation(s) for analytics.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/analytics/focus/insights/V3 Get focus insights for a date range · Analytics focus insights v3 #
Ask an LLM
“How much time did my team spend in focus mode last week?”
“Can I get focus insights for a custom date range?”
Tell an agent
Get focus insights from {start} to {end}.
Show focus mode insights between {start} and {end} using {countingStyle} counting.
GET /api/analytics/focus/insights/V4 Get focus insights with the V4 report · Analytics focus insights v4 #
Ask an LLM
“What does the V4 focus insights report show for a date range?”
“Is there a newer version of the focus time insights report?”
Tell an agent
Pull the V4 focus insights report covering {queryStart} up to {queryEnd}.
Run the version 4 focus insights analysis with queryStart {queryStart} and queryEnd {queryEnd}.
GET /api/analytics/team Get team analytics for a date range · Analytics team analytics #
Ask an LLM
“How is my team performing on a given metric?”
“Can I group team analytics by day or week?”
Tell an agent
Get team analytics for {metricName} from {start} to {end}.
Show {metricName} team performance between {start} and {end} grouped by {groupingInterval}.
GET /api/analytics/team/V3 Get a team's productivity metrics · Analytics team analytics V3 #
Ask an LLM
“How productive was my team over a given period?”
“Can I break down team metrics by day or week?”
Tell an agent
Get team {metricName} from {start} to {end}.
Break down team {metricName} between {start} and {end} by {groupingInterval}.
POST /api/analytics/team/V4 Get team analytics with a request body · Analytics team analytics V4 #
Ask an LLM
“Can I filter team analytics with a request body?”
“Is there a POST version of team analytics?”
Tell an agent
Get team analytics from {queryStart} to {queryEnd}.
Show team analytics for {queryStart} to {queryEnd} filtered by {filters}.
GET /api/analytics/team/V4/export Export team analytics as a file · Analytics team analytics V4Export #
Ask an LLM
“Can I export team analytics to a file?”
“What meeting-heavy day threshold does the export use?”
Tell an agent
Export team analytics from {queryStart} to {queryEnd}.
Export team analytics between {queryStart} and {queryEnd} with a meeting-heavy threshold of {meetingHeavyDayThreshold}.
GET /api/analytics/team/V4/filters List team analytics filters · Analytics team analytics V4Filters #
Ask an LLM
“What filters can I apply to team analytics?”
“Which team analytics filters are available?”
Tell an agent
List team analytics filters.
Show the filters I can use for team analytics.
GET /api/analytics/team/V4/permissions Check team analytics permissions · Analytics team analytics V4Permissions #
Ask an LLM
“Do I have permission to view team analytics?”
“What team analytics permissions does my account have?”
Tell an agent
Check my team analytics permissions.
Show which team analytics I am allowed to see.
GET /api/analytics/user Get user analytics for a date range · Analytics user analytics #
Ask an LLM
“How is one user doing on a given metric?”
“Can I group user analytics by day or week?”
Tell an agent
Get user analytics for {metricName} from {start} to {end}.
Show {metricName} user performance between {start} and {end} grouped by {groupingInterval}.
GET /api/analytics/user/V3 Get a user's activity metrics · Analytics user analytics V3 #
Ask an LLM
“What have I been doing according to my Reclaim analytics?”
“Can I see one user's metrics over a period?”
Tell an agent
Get user {metricName} from {start} to {end}.
Show {metricName} for me between {start} and {end}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reclaim-ai:reclaim-ai-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reclaim-ai-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reclaim Analytics API
  description: Reclaim's awesome API
  contact:
    name: Reclaim.ai Inc.
    url: http://reclaim.ai
    email: info@reclaim.ai
  license:
    name: Reclaim 9.9
    url: http://reclaim.ai
  version: '0.1'
tags:
- name: Analytics
paths:
  /api/analytics/focus/insights/V3:
    get:
      tags:
      - Analytics
      operationId: analytics_focusInsights_v3
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: countingStyle
        in: query
        schema:
          allOf:
          - $ref: '#/components/schemas/FocusTimeCountingStyle'
      responses:
        '200':
          description: analytics_focusInsights_v3 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FocusInsightsViewV3'
      security:
      - Authorization: []
      summary: Analytics focus insights v3
      x-summary-source: derived
  /api/analytics/focus/insights/V4:
    get:
      tags:
      - Analytics
      operationId: analytics_focusInsights_v4
      parameters:
      - name: queryStart
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: queryEnd
        in: query
        required: true
        schema:
          type: string
          format: date
      responses:
        '200':
          description: analytics_focusInsights_v4 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamAnalyticsV4View'
      security:
      - Authorization: []
      summary: Analytics focus insights v4
      x-summary-source: derived
  /api/analytics/team:
    get:
      tags:
      - Analytics
      operationId: analytics_teamAnalytics
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: metricName
        in: query
        required: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsMetricName'
      - name: groupingInterval
        in: query
        schema:
          allOf:
          - $ref: '#/components/schemas/AnalyticsGroupingInterval'
      responses:
        '200':
          description: analytics_teamAnalytics 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsResults'
      security:
      - Authorization: []
      summary: Analytics team analytics
      x-summary-source: derived
  /api/analytics/team/V3:
    get:
      tags:
      - Analytics
      operationId: analytics_teamAnalyticsV3
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: metricName
        in: query
        required: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsMetricName'
      - name: groupingInterval
        in: query
        schema:
          allOf:
          - $ref: '#/components/schemas/AnalyticsGroupingInterval'
      - name: notificationKey
        in: query
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          description: analytics_teamAnalyticsV3 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsResultView'
      security:
      - Authorization: []
      summary: Analytics team analytics V3
      x-summary-source: derived
  /api/analytics/team/V4:
    post:
      tags:
      - Analytics
      operationId: analytics_teamAnalyticsV4
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamAnalyticsV4Request'
        required: true
      responses:
        '200':
          description: analytics_teamAnalyticsV4 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamAnalyticsV4View'
      security:
      - Authorization: []
      summary: Analytics team analytics V4
      x-summary-source: derived
  /api/analytics/team/V4/export:
    get:
      tags:
      - Analytics
      operationId: analytics_teamAnalyticsV4Export
      parameters:
      - name: queryStart
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: queryEnd
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: meetingHeavyDayThreshold
        in: query
        schema:
          type:
          - integer
          - 'null'
          format: int32
      responses:
        '200':
          description: analytics_teamAnalyticsV4Export 200 response
          content:
            application/json:
              schema:
                type: string
                format: binary
      security:
      - Authorization: []
      summary: Analytics team analytics V4Export
      x-summary-source: derived
  /api/analytics/team/V4/filters:
    get:
      tags:
      - Analytics
      operationId: analytics_teamAnalyticsV4Filters
      parameters:
      - name: myOrg
        in: query
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: analytics_teamAnalyticsV4Filters 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMetadataFilterView'
      security:
      - Authorization: []
      summary: Analytics team analytics V4Filters
      x-summary-source: derived
  /api/analytics/team/V4/permissions:
    get:
      tags:
      - Analytics
      operationId: analytics_teamAnalyticsV4Permissions
      responses:
        '200':
          description: analytics_teamAnalyticsV4Permissions 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamAnalyticsV4Permissions'
      security:
      - Authorization: []
      summary: Analytics team analytics V4Permissions
      x-summary-source: derived
  /api/analytics/user:
    get:
      tags:
      - Analytics
      operationId: analytics_userAnalytics
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: metricName
        in: query
        required: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsMetricName'
      - name: groupingInterval
        in: query
        schema:
          allOf:
          - $ref: '#/components/schemas/AnalyticsGroupingInterval'
      responses:
        '200':
          description: analytics_userAnalytics 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsResults'
      security:
      - Authorization: []
      summary: Analytics user analytics
      x-summary-source: derived
  /api/analytics/user/V3:
    get:
      tags:
      - Analytics
      operationId: analytics_userAnalyticsV3
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date
      - name: metricName
        in: query
        required: true
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsMetricName'
      - name: groupingInterval
        in: query
        schema:
          allOf:
          - $ref: '#/components/schemas/AnalyticsGroupingInterval'
      - name: notificationKey
        in: query
        schema:
          type:
          - string
          - 'null'
      responses:
        '200':
          description: analytics_userAnalyticsV3 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsResultView'
      security:
      - Authorization: []
      summary: Analytics user analytics V3
      x-summary-source: derived
components:
  schemas:
    AnalyticsResultView:
      required:
      - result
      - status
      type: object
      properties:
        status:
          $ref: '#/components/schemas/AnalyticsResultsProcessingStatus'
        result:
          $ref: '#/components/schemas/AnalyticsResults'
    TeamMetadataFilterChoiceOption:
      required:
      - value
      type: object
      properties:
        value:
          type: string
    FocusInsightsStatisticV3:
      required:
      - count
      - eventMinutesMap
      - focusInsightsCategory
      - minutes
      - reclaimEventType
      type: object
      properties:
        minutes:
          type: integer
          format: int32
        count:
          type: integer
          format: int32
        reclaimEventType:
          $ref: '#/components/schemas/ReclaimEventType'
        eventMinutesMap:
          type: object
          additionalProperties:
            type: integer
            format: int32
        focusInsightsCategory:
          $ref: '#/components/schemas/FocusInsightsCategory'
    TeamMetadataFilterChoice:
      required:
      - options
      type: object
      allOf:
      - $ref: '#/components/schemas/TeamMetadataFilter'
      - properties:
          options:
            type: array
            items:
              $ref: '#/components/schemas/TeamMetadataFilterChoiceOption'
          variant:
            $ref: '#/components/schemas/TeamMetadataFilterChoice.Variant'
    TeamMetadataFilterType:
      type: string
      enum:
      - CHOICE
      - DATE_RANGE
      - HIERARCHY
    List_String_:
      type: object
      allOf:
      - $ref: '#/components/schemas/SequencedCollection_String_'
      - $ref: '#/components/schemas/Collection_String_'
      - properties:
          empty:
            type: boolean
          first:
            type: string
          last:
            type: string
    TimeBreakdownDetails:
      type: object
      properties:
        hoursDailyAvg:
          type: number
          format: double
        shallowCount:
          type: number
          format: double
        deepCount:
          type: number
          format: double
    RichAppendixEntry:
      required:
      - missingScopes
      - values
      type: object
      properties:
        missingScopes:
          type: array
          items:
            type: string
        values:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/RichContact'
    AnalyticsResults:
      required:
      - appendix
      - metrics
      type: object
      properties:
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsResult'
        appendix:
          $ref: '#/components/schemas/Appendix'
    RichContact:
      type: object
      allOf:
      - $ref: '#/components/schemas/ThinPerson'
      - properties:
          reclaimUser:
            type: boolean
          userId:
            type:
            - string
            - 'null'
          firstName:
            type:
            - string
            - 'null'
          lastName:
            type:
            - string
            - 'null'
    AnalyticsResult:
      required:
      - metric
      - name
      type: object
      properties:
        name:
          $ref: '#/components/schemas/AnalyticsMetricName'
        metric:
          $ref: '#/components/schemas/AbstractMetric'
    TimeBreakdown:
      required:
      - eventTypeToHoursDailyAvg
      - timeSeries
      type: object
      properties:
        eventTypeToHoursDailyAvg:
          properties:
            ExternalMeeting:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            OneOnOne:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            TeamMeeting:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            SoloWork:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Personal:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Logistics:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Focus:
              $ref: '#/components/schemas/TimeBreakdownDetails'
        timeSeries:
          type: array
          items:
            $ref: '#/components/schemas/TimeBreakdownBucket'
    PolicyMetric:
      required:
      - name
      - value
      type: object
      properties:
        name:
          type: string
        value:
          type: number
          format: double
    DayOfWeek:
      type: string
      enum:
      - MONDAY
      - TUESDAY
      - WEDNESDAY
      - THURSDAY
      - FRIDAY
      - SATURDAY
      - SUNDAY
    TeamAnalyticsV4View:
      required:
      - currentMetrics
      - previousMetrics
      - tooFewUsers
      - userCount
      type: object
      properties:
        currentMetrics:
          $ref: '#/components/schemas/TeamAnalyticsV4Metrics'
        previousMetrics:
          $ref: '#/components/schemas/TeamAnalyticsV4Metrics'
        userCount:
          type: integer
          format: int64
        tooFewUsers:
          type: boolean
    TeamMetadataFilterChoice.Variant:
      type: string
      enum:
      - FULL
      - COMPACT
    SequencedCollection_String_:
      type: object
      allOf:
      - $ref: '#/components/schemas/Collection_String_'
      - properties:
          first:
            type: string
          last:
            type: string
    Appendix:
      required:
      - teamSize
      type: object
      properties:
        people:
          $ref: '#/components/schemas/RichAppendixEntry'
        teamSize:
          type: integer
          format: int32
    PolicyMetrics:
      required:
      - metrics
      - overallPolicyAdherenceAverage
      type: object
      properties:
        overallPolicyAdherenceAverage:
          type: number
          format: double
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/PolicyMetric'
    DeepWorkBucket:
      required:
      - deepFocusOpportunityCountNormalized
      - deepFocusOpportunityCountWeeklyAvg
      - end
      - freeTimeHoursDailyAvg
      - index
      - meetingHeavyDaysNormalized
      - meetingHeavyDaysWeeklyAvg
      - meetingTimeInHoursNormalized
      - meetingTimeInHoursWeeklyAvg
      - meetingsCountDailyAvg
      - meetingsCountNormalized
      - shortBreakBetweenMeetingCountNormalized
      - shortBreakBetweenMeetingCountWeeklyAvg
      - start
      type: object
      properties:
        start:
          type: string
          format: date
        end:
          type: string
          format: date
        index:
          type: number
          format: double
        freeTimeHoursDailyAvg:
          type: number
          format: double
        meetingTimeInHoursWeeklyAvg:
          type: number
          format: double
        meetingsCountDailyAvg:
          type: number
          format: double
        deepFocusOpportunityCountWeeklyAvg:
          type: number
          format: double
        shortBreakBetweenMeetingCountWeeklyAvg:
          type: number
          format: double
        meetingHeavyDaysWeeklyAvg:
          type: number
          format: double
        meetingTimeInHoursNormalized:
          type: number
          format: double
        meetingsCountNormalized:
          type: number
          format: double
        deepFocusOpportunityCountNormalized:
          type: number
          format: double
        shortBreakBetweenMeetingCountNormalized:
          type: number
          format: double
        meetingHeavyDaysNormalized:
          type: number
          format: double
    TeamMetadataSelectedFilterChoice:
      required:
      - value
      type: object
      allOf:
      - $ref: '#/components/schemas/TeamMetadataSelectedFilter'
      - properties:
          value:
            type: string
    TeamAnalyticsV4Request:
      required:
      - queryEnd
      - queryStart
      type: object
      properties:
        queryStart:
          type: string
          format: date
        queryEnd:
          type: string
          format: date
        filters:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/TeamMetadataSelectedFilter'
        myOrg:
          type:
          - boolean
          - 'null'
    TeamMetadataFilterHierarchy.Child:
      required:
      - childIds
      - descendantCount
      - id
      - label
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        descendantCount:
          type: integer
          format: int32
        childIds:
          type: array
          items:
            type: string
    TeamMetadataFilterHierarchy:
      type: object
      allOf:
      - $ref: '#/components/schemas/TeamMetadataFilter'
      - properties:
          descendantCount:
            type: integer
            format: int32
          dictionary:
            type: object
            additionalProperties:
              $ref: '#/components/schemas/TeamMetadataFilterHierarchy.Child'
          childIds:
            type: array
            items:
              type: string
    AnalyticsGroupingInterval:
      type: string
      enum:
      - DAILY
      - WEEKLY
    TimeInMeetings:
      required:
      - dayOfWeekMeetingBuckets
      - timeInMeetingsHistogram
      type: object
      properties:
        timeInMeetingsHistogram:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/TimeInMeetingsBucket'
        dayOfWeekMeetingBuckets:
          type: array
          items:
            $ref: '#/components/schemas/DayOfWeekMeetingBucket'
    AbstractMetric:
      required:
      - appendixKeys
      - description
      - noData
      - type
      - unit
      type: object
      properties:
        type:
          $ref: '#/components/schemas/AnalyticsType'
        unit:
          $ref: '#/components/schemas/AnalyticsUnit'
        description:
          type: string
        appendixKeys:
          properties:
            people:
              $ref: '#/components/schemas/List_String_'
        noData:
          type: boolean
      discriminator:
        propertyName: type
        mapping:
          durationByDate: '#/components/schemas/AnalyticsDurationByDateMetric'
          countByCategory: '#/components/schemas/AnalyticsCountByCategoryMetric'
          durationByDateByString: '#/components/schemas/AnalyticsDurationByDateByStringMetric'
          doubleValue: '#/components/schemas/AnalyticsDoubleValueMetric'
          durationByCategory: '#/components/schemas/AnalyticsDurationByCategoryMetric'
          durationByCategoryByString: '#/components/schemas/AnalyticsDurationByCategoryByStringMetric'
          durationByString: '#/components/schemas/AnalyticsDurationByStringMetric'
          calloutGroup: '#/components/schemas/CalloutGroupMetric'
          durationByDateByCategory: '#/components/schemas/AnalyticsDurationByDateByCategoryMetric'
          percentageByDateByDuration: '#/components/schemas/AnalyticsPercentageByDurationRangeByDateMetric'
          countByString: '#/components/schemas/AnalyticsCountByStringMetric'
          integerValue: '#/components/schemas/AnalyticsIntegerValueMetric'
          durationByDayOfWeek: '#/components/schemas/AnalyticsDurationByDayOfWeekMetric'
          countByTeamMember: '#/components/schemas/AnalyticsCountByTeamMemberMetric'
    TeamMetadataSelectedFilter:
      required:
      - key
      - type
      type: object
      properties:
        key:
          type: string
        type:
          $ref: '#/components/schemas/TeamMetadataFilterType'
      oneOf:
      - $ref: '#/components/schemas/TeamMetadataSelectedFilterChoice'
    AnalyticsResultsProcessingStatus:
      type: string
      enum:
      - PENDING
      - COMPLETED
      - ERROR
    TeamMetadataFilterDate:
      required:
      - maxDate
      - minDate
      type: object
      allOf:
      - $ref: '#/components/schemas/TeamMetadataFilter'
      - properties:
          minDate:
            type: string
            format: date-time
          maxDate:
            type: string
            format: date-time
    TeamMetadataFilterView:
      required:
      - filterCandidates
      - teamId
      type: object
      properties:
        teamId:
          type: integer
          format: int64
        filterCandidates:
          type: array
          items:
            $ref: '#/components/schemas/TeamMetadataFilter'
    TeamMetadataFilter:
      required:
      - key
      - label
      - type
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        type:
          $ref: '#/components/schemas/TeamMetadataFilterType'
      oneOf:
      - $ref: '#/components/schemas/TeamMetadataFilterChoice'
      - $ref: '#/components/schemas/TeamMetadataFilterDate'
      - $ref: '#/components/schemas/TeamMetadataFilterHierarchy'
    AnalyticsUnit:
      type: string
      enum:
      - COUNT
      - DURATION_MINUTES
      - PERCENTAGE
    TimeBreakdownBucket:
      required:
      - end
      - eventTypeToHoursAvg
      - freeTimeHoursAvg
      - start
      type: object
      properties:
        start:
          type: string
          format: date
        end:
          type: string
          format: date
        eventTypeToHoursAvg:
          properties:
            ExternalMeeting:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            OneOnOne:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            TeamMeeting:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            SoloWork:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Personal:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Logistics:
              $ref: '#/components/schemas/TimeBreakdownDetails'
            Focus:
              $ref: '#/components/schemas/TimeBreakdownDetails'
        freeTimeHoursAvg:
          type: number
          format: double
    FocusTimeCountingStyle:
      type: string
      enum:
      - IGNORE_TIME_SCHEME
      - ONLY_WITHIN_TIME_SCHEME
    TeamAnalyticsV4Metrics:
      required:
      - avgFocusDuration
      - decompressionTimeHoursPerWeek
      - end
      - focusScore
      - meetingLoad
      - reclaimScheduledPerWeek
      - reclaimedTimeHoursPerWeek
      - start
      - travelTimeHoursPerWeek
      type: object
      properties:
        start:
          type: string
          format: date
        end:
          type: string
          format: date
        deepWork:
          allOf:
          - $ref: '#/components/schemas/DeepWork'
        timeBreakdown:
          allOf:
          - $ref: '#/components/schemas/TimeBreakdown'
        timeInMeetings:
          allOf:
          - $ref: '#/components/schemas/TimeInMeetings'
        focusScore:
          type: number
          format: double
        meetingLoad:
          type: number
          format: double
        avgFocusDuration:
          type: number
          format: double
        reclaimedTimeHoursPerWeek:
          type: number
          format: double
        decompressionTimeHoursPerWeek:
          type: number
          format: double
        reclaimScheduledPerWeek:
          type: number
          format: double
        travelTimeHoursPerWeek:
          type: number
          format: double
        policyMetrics:
          allOf:
          - $ref: '#/components/schemas/PolicyMetrics'
    TeamAnalyticsV4Permissions:
      type: object
      properties:
        hasMyOrg:
          type:
          - boolean
          - 'null'
    ReclaimEventType:
      type: string
      enum:
      - USER
      - SYNC
      - HABIT_ASSIGNMENT
      - SMART_HABIT
      - ONE_ON_ONE_ASSIGNMENT
      - SMART_MEETING
      - TASK_ASSIGNMENT
      - CONF_BUFFER
      - TRAVEL_BUFFER
      - SCHEDULING_LINK_MEETING
      - UNKNOWN
      - FOCUS
    Collection_String_:
      type: object
      properties:
        empty:
          type: boolean
    FocusInsightsForDayV3:
      required:
      - analyticsResults
      - day
      - deepFocusOpportunityCount
      - freeTimeMinutes
      - meetingTimeInMinutes
      - meetingsCount
      - shortBreakBetweenMeetingCount
      - stats
      type: object
      properties:
        day:
          type: string
          format: date
        stats:
          type: array
          items:
            $ref: '#/components/schemas/FocusInsightsStatisticV3'
        freeTimeMinutes:
          type: integer
          format: int64
        meetingTimeInMinutes:
          type: integer
          format: int64
        meetingsCount:
          type: integer
          format: int32
        deepFocusOpportunityCount:
          type: integer
          format: int32
        shortBreakBetweenMeetingCount:
          type: integer
          format: int32
        analyticsResults:
          type: array
          items:
            $ref: '#/components/schemas/AnalyticsResult'
    FocusInsightsCategory:
      type: string
      enum:
      - ExternalMeeting
      - OneOnOne
      - TeamMeeting
      - SoloWork
      - Personal
      - Logistics
      - Focus
      x-enum-varnames:
      - ExternalMeeting
      - OneOnOne
      - TeamMeeting
      - SoloWork
      - Personal
      - Logistics
      - Focus
    DeepWork:
      required:
      - deepFocusOpportunityCountNormalizedAvg
      - deepFocusOpportunityCountWeeklyAvg
      - freeTimeHoursDailyAvg
      - index
      - meetingHeavyDaysNormalizedAvg
      - meetingHeavyDaysWeeklyAvg
      - meetingTimeInHoursNormalizedAvg
      - meetingTimeInHoursWeeklyAvg
      - meetingsCountDailyAvg
      - meetingsCountNormalizedAvg
      - shortBreakBetweenMeetingCountNormalizedAvg
      - shortBreakBetweenMeetingCountWeeklyAvg
      - timeSeries
      type: object
      properties:
        index:
          type: number
          format: double
        freeTimeHoursDailyAvg:
          type: number
          format: double
        meetingTimeInHoursWeeklyAvg:
          type: number
          format: double
        meetingsCountDailyAvg:
          type: number
          format: double
        deepFocusOpportunityCountWeeklyAvg:
          type: number
          format: double
        shortBreakBetweenMeetingCountWeeklyAvg:
          type: number
          format: double
        meetingHeavyDaysWeeklyAvg:
          type: number
          format: double
        timeSeries:
          type: array
          items:
            $ref: '#/components/schemas/DeepWorkBucket'
        meetingTimeInHoursNormalizedAvg:
          type: number
          format: double
        meetingsCountNormalizedAvg:
          type: number
          format: double
        deepFocusOpportunityCountNormalizedAvg:
          type: number
          format: double
        shortBreakBetweenMeetingCountNormalizedAvg:
          type: number
          format: double
        meetingHeavyDaysNormalizedAvg:
          type: number
          format: double
    ThinPerson:
      required:
      - email
      type: object
      properties:
        reclaimUser:
          type: boolean
        userId:
          type:
          - string
          - 'null'
        email:
          minLength: 1
          type: string
        name:
          type: string
        avatarUrl:
          type: string
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
    AnalyticsType:
      type: string
      enum:
      - integerValue
      - countByString
      - countByCategory
      - durationSummary
      - durationByDateByCategory
      - durationByCategory
      - countByReclaimEventType
      - durationByDate
      - durationByString
      - durationByDayOfWeek
      - durationByDateByString
      - durationByRangeByDate
      - durationByCategoryByString
      - calloutGroup
      - doubleValue
      x-enum-varnames:
      - integerValue
      - countByString
      - countByCategory
      - durationSummary
      - durationByDateByCategory
      - durationByCategory
      - countByReclaimEventType
      - durationByDate
      - durationByString
      - durationByDayOfWeek
      - durationByDateByString
      - durationByRangeByDate
      - durationByCategoryByString
      - calloutGroup
      - doubleValue
    TimeInMeetingsBucket:
      required:
      - meetingHours
      - userCount
      type: object
      properties:
        meetingHours:
          type: integer
          format: int32
        userCount:
          type: integer
          format: int32
    FocusInsightsViewV3:
      required:
      - insightsForDays
      type: object
      properties:
        insightsForDays:
          type: array
          items:
            $ref: '#/components/schemas/FocusInsightsForDayV3'
    AnalyticsMetricName:
      type: string
      enum:
      - DIAGNOSTICS_EVENT_COUNT
      - DIAGNOSTICS_EVENT_COUNT_BY_TEAM_MEMBER
      - DIAGNOSTICS_EVENT_BUSY_COUNT_BY_TEAM_MEMBER
      - DIAGNOSTICS_MEETING_COUNT_BY_TEAM_MEMBER
      - TIME_WITH_PEOPLE_DURATION_BY_DATE_BY_PERSON
      - TIME_WITH_PEOPLE_DURATION_BY_PERSON
      - FOCUS_TIME_DURATION_BY_DATE_BY_TEAM_MEMBER
      - FREE_TIME_DURATION_BY_DATE_BY_TEAM_MEMBER
      - MEETING_TIME_DURATION_BY_DATE_BY_TEAM_MEMBER
      - TASK_TIME_DURATION_BY_DATE_BY_TEAM_MEMBER
      - HABIT_TIME_DURATION_BY_DATE_BY_TEAM_MEMBER
      - MEETING_TIME_PERCENTAGE_BY_DATE_BY_DURATION_RANGE
      - FOCUS_DURATION_BY_CATEGORY_BY_EVENT_NAME
      - SCHEDULING_LINK_EVENT_COUNT
      - RECLAIM_SCHEDULED_EVENT_COUNT
      - DURATION_BY_CATEGORY
      - RECLAIM_WORK_DURATION_BY_DATE_BY_ASSIGNMENT_TYPE
      - DURATION_BY_DATE_BY_CATEGORY
      - PERSONAL_HABIT_TIME_DURATION
      - VACATION_TIME_DURATION
      - OUTSIDE_WORK_TIME_DURATION
      - RECLAIMED_TIME_DURATION
      - DECOMPRESSION_TIME_DURATION
      - TRAVEL_TIME_DURATION
      - MEETING_TIME_DURATION_BY_DAY_OF_WEEK
      - FOCUS_TIME_DURATION_BY_DAY_OF_WEEK
      - WORK_HABITS_AND_TASKS_DURATION_BY_DATE_BY_NAME
      - PERSONAL_HABITS_AND_TASKS_DURATION_BY_DATE_BY_NAME
      - PERSONAL_TIME_DURATION
      - LARGE_MEETINGS_COUNT
      - MEETINGS_DECLINED_COUNT
      - MEETING_CALLOUT_GROUP
      - WORK_LIFE_CALLOUT_GROUP
      - ROI_CALLOUT_GROUP
      - CALENDAR_SYNC_COUNT
      - CALENDAR_SYNC_TIME_DURATION
      - COUNT_BY_CATEGORY
      - COUNT_BY_ASSIGNMENT_TYPE
      - DROPBOX_AGENDA_POLICY_ADHERENCE
    DayOfWeekMeetingBucket:
      required:
      - dayOfTheWeek
      - meetingHoursAvg
      type: object
      properties:
        dayOfTheWeek:
          $ref: '#/components/schemas/DayOfWeek'
        meetingHoursAvg:
          type: number
          format: double
  securitySchemes:
    Authorization:
      type: oauth2