Reclaim.ai Focus Settings API

The focus-settings API from Reclaim.ai — 7 operation(s) for focus-settings.

GitHub OpenAPI

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

POST /api/focus-settings/clear-focus-time-events Clear focus time events · Clear focus time events #
Ask an LLM
“How do I wipe all focus time events from a user's calendar?”
“Can I clear focus time events in bulk?”
Tell an agent destructive · confirm first
Clear all focus time events.
Wipe the user's focus time events.
POST /api/focus-settings/remove-duplicated-focus-time-events Remove duplicate focus time events · Remove duplicated focus time events #
Ask an LLM
“How do I deduplicate focus time events?”
“Can I remove duplicate focus time events without clearing everything?”
Tell an agent destructive · confirm first
Remove duplicate focus time events.
Deduplicate the user's focus time events.
GET /api/focus-settings/team List a team's focus settings · Find all for team #
Ask an LLM
“What focus settings does my team have?”
“Can I see all focus settings for a team?”
Tell an agent
List all focus settings for my team.
Show the team's focus settings.
POST /api/focus-settings/team Create a team focus settings record · Create team focus settings #
Ask an LLM
“How do I create a team focus settings record?”
“Can I set a team's focus type and time scheme when creating its settings?”
Tell an agent
Create team focus settings titled {title} with focus type {focusType}, time scheme {focusTimeSettings}, policy {policyType} and visibility {visibility}.
Create team focus settings {title} for policy {policyType}, focus type {focusType}, time scheme {focusTimeSettings}, visibility {visibility}.
GET /api/focus-settings/team/{id} Get a team focus settings record · Find team focus settings #
Ask an LLM
“How do I look up one team focus settings record?”
“What focus type and time scheme does a team's settings use?”
Tell an agent
Get team focus settings {id}.
Show the team focus settings record {id}.
PATCH /api/focus-settings/team/{id} Update a team focus settings record · Patch team focus settings #
Ask an LLM
“How do I change a team's focus settings?”
“Can I disable a team focus settings record?”
Tell an agent
Update team focus settings {id} to enabled {enabled}.
Set the team focus settings record {id} to visibility {visibility}.
GET /api/focus-settings/user List a user's focus settings · Find all #
Ask an LLM
“What focus settings does a user have?”
“Can I list all focus settings for a single user?”
Tell an agent
List my focus settings.
Show all focus settings for the signed-in user.
POST /api/focus-settings/user Create a user focus settings record · Create user focus settings #
Ask an LLM
“How do I create a user focus settings record?”
“Can I set a user's focus type and time scheme when creating settings?”
Tell an agent
Create user focus settings titled {title} with focus type {focusType}, time scheme {focusTimeSettings}, calendar {calendarId} and visibility {visibility}.
Create user focus settings {title} for focus type {focusType}, time scheme {focusTimeSettings}, calendar {calendarId}, visibility {visibility}.
GET /api/focus-settings/user/focus-time/default Get a user's default focus time settings · Fetch focus time default #
Ask an LLM
“What are the default focus time settings for a user?”
“Can I fetch a user's focus time default?”
Tell an agent
Fetch the user's focus time default.
Show the default focus time settings for the signed-in user.
PATCH /api/focus-settings/user/{id} Update a user focus settings record · Patch user focus settings #
Ask an LLM
“How do I change a user's focus settings?”
“Can I switch a user's focus type or time scheme?”
Tell an agent
Update user focus settings {id} to focus type {focusType}.
Set user focus settings {id} to time scheme {timeSchemeId}.

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-focus-settings-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-focus-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reclaim Focus Settings 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: focus-settings
paths:
  /api/focus-settings/clear-focus-time-events:
    post:
      tags:
      - focus-settings
      operationId: clearFocusTimeEvents
      responses:
        '200':
          description: clearFocusTimeEvents 200 response
          content:
            application/json:
              schema:
                type: object
      security:
      - Authorization: []
      summary: Clear focus time events
      x-summary-source: derived
  /api/focus-settings/remove-duplicated-focus-time-events:
    post:
      tags:
      - focus-settings
      operationId: removeDuplicatedFocusTimeEvents
      responses:
        '200':
          description: removeDuplicatedFocusTimeEvents 200 response
          content:
            application/json:
              schema:
                type: object
      security:
      - Authorization: []
      summary: Remove duplicated focus time events
      x-summary-source: derived
  /api/focus-settings/team:
    get:
      tags:
      - focus-settings
      operationId: findAllForTeam
      responses:
        '200':
          description: findAllForTeam 200 response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TeamFocusSettingsView'
      security:
      - Authorization: []
      summary: Find all for team
      x-summary-source: derived
    post:
      tags:
      - focus-settings
      operationId: createTeamFocusSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamFocusSettingsCreateRequest'
        required: true
      responses:
        '200':
          description: createTeamFocusSettings 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamFocusSettingsView'
      security:
      - Authorization: []
      summary: Create team focus settings
      x-summary-source: derived
  /api/focus-settings/team/{id}:
    get:
      tags:
      - focus-settings
      operationId: findTeamFocusSettings
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: findTeamFocusSettings 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamFocusSettingsView'
      security:
      - Authorization: []
      summary: Find team focus settings
      x-summary-source: derived
    patch:
      tags:
      - focus-settings
      operationId: patchTeamFocusSettings
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamFocusSettingsPatchRequest'
        required: true
      responses:
        '200':
          description: patchTeamFocusSettings 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamFocusSettingsView'
      security:
      - Authorization: []
      summary: Patch team focus settings
      x-summary-source: derived
  /api/focus-settings/user:
    get:
      tags:
      - focus-settings
      operationId: findAll
      responses:
        '200':
          description: findAll 200 response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UserFocusSettingsView'
      security:
      - Authorization: []
      summary: Find all
      x-summary-source: derived
    post:
      tags:
      - focus-settings
      operationId: createUserFocusSettings
      parameters:
      - name: notificationKey
        in: query
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserFocusSettingsCreateRequest'
        required: true
      responses:
        '200':
          description: createUserFocusSettings 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFocusSettingsView'
      security:
      - Authorization: []
      summary: Create user focus settings
      x-summary-source: derived
  /api/focus-settings/user/focus-time/default:
    get:
      tags:
      - focus-settings
      operationId: fetchFocusTimeDefault
      responses:
        '200':
          description: fetchFocusTimeDefault 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFocusSettingsView'
      security:
      - Authorization: []
      summary: Fetch focus time default
      x-summary-source: derived
  /api/focus-settings/user/{id}:
    patch:
      tags:
      - focus-settings
      operationId: patchUserFocusSettings
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: notificationKey
        in: query
        schema:
          type:
          - string
          - 'null'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserFocusSettingsPatchRequest'
        required: true
      responses:
        '200':
          description: patchUserFocusSettings 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFocusSettingsView'
      security:
      - Authorization: []
      summary: Patch user focus settings
      x-summary-source: derived
components:
  schemas:
    BalloonFillRequest:
      required:
      - targetChunksPerWeek
      - type
      type: object
      properties:
        targetChunksPerWeek:
          type: integer
          format: int32
        idealChunksPerDay:
          type:
          - integer
          - 'null'
          format: int32
        maxChunksPerDay:
          type:
          - integer
          - 'null'
          format: int32
        minDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
        maxDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
        type:
          $ref: '#/components/schemas/FocusTimeBalloonFillType'
    FocusType:
      type: string
      enum:
      - FOCUS_TIME
    FocusTimeBalloonFillType:
      type: string
      enum:
      - BALLOON_FILL_NORMAL
      - BALLOON_FILL_MAXIMIZE_DURATIONS
    FocusTimeRequest:
      required:
      - schedulingTypeV2
      type: object
      properties:
        schedulingType:
          deprecated: true
          allOf:
          - $ref: '#/components/schemas/FocusTimeSchedulingType'
        schedulingTypeV2:
          $ref: '#/components/schemas/FocusTimeSchedulingTypeV2'
        countingStyle:
          allOf:
          - $ref: '#/components/schemas/FocusTimeCountingStyle'
        balloonFill:
          allOf:
          - $ref: '#/components/schemas/BalloonFillRequest'
        circuitBreaker:
          allOf:
          - $ref: '#/components/schemas/CircuitBreakerRequest'
    CircuitBreakerRequest:
      required:
      - availableChunksInDayThreshold
      - availableChunksInWeekThreshold
      - type
      type: object
      properties:
        availableChunksInWeekThreshold:
          type: integer
          format: int32
        availableChunksInDayThreshold:
          type: integer
          format: int32
        type:
          $ref: '#/components/schemas/FocusTimeCircuitBreakerType'
        minDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
    TeamFocusSettingsPatchRequest:
      type: object
      properties:
        title:
          type: string
        description:
          type:
          - string
          - 'null'
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          $ref: '#/components/schemas/FocusTimeRequest'
        enabled:
          type: boolean
        policyType:
          $ref: '#/components/schemas/TimePolicyType'
        autoDecline:
          type: boolean
        autoDeclineText:
          type:
          - string
          - 'null'
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    FocusTimeSchedulingTypeV2:
      type: string
      enum:
      - BALLOON_FILL
      - CIRCUIT_BREAKER
    TeamFocusSettingsCreateRequest:
      required:
      - focusTimeSettings
      - focusType
      - policyType
      - title
      - visibility
      type: object
      properties:
        autoDecline:
          type:
          - boolean
          - 'null'
        title:
          type: string
        description:
          type:
          - string
          - 'null'
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          $ref: '#/components/schemas/FocusTimeRequest'
        policyType:
          $ref: '#/components/schemas/TimePolicyType'
        autoDeclineText:
          type:
          - string
          - 'null'
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    UserFocusSettingsPatchRequest:
      type: object
      properties:
        title:
          type: string
        description:
          type:
          - string
          - 'null'
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          $ref: '#/components/schemas/FocusTimeRequest'
        enabled:
          type: boolean
        timeSchemeId:
          type: string
        autoDecline:
          type: boolean
        autoDeclineText:
          type:
          - string
          - 'null'
        calendarId:
          type: integer
          format: int64
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    UserFocusSettingsCreateRequest:
      required:
      - focusTimeSettings
      - focusType
      - timeSchemeId
      - title
      - visibility
      type: object
      properties:
        autoDecline:
          type:
          - boolean
          - 'null'
        title:
          type: string
        description:
          type:
          - string
          - 'null'
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          $ref: '#/components/schemas/FocusTimeRequest'
        timeSchemeId:
          type: string
        autoDeclineText:
          type:
          - string
          - 'null'
        calendarId:
          type:
          - integer
          - 'null'
          format: int64
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    CircuitBreakerView:
      required:
      - availableChunksInDayThreshold
      - availableChunksInWeekThreshold
      - type
      type: object
      properties:
        availableChunksInWeekThreshold:
          type: integer
          format: int32
        availableChunksInDayThreshold:
          type: integer
          format: int32
        type:
          $ref: '#/components/schemas/FocusTimeCircuitBreakerType'
        minDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
    UserFocusSettingsStatus:
      type: string
      enum:
      - ACTIVE
      - DISABLED
      - CALENDAR_NOT_FOUND
      - CALENDAR_NOT_VALID
      - CALENDAR_NOT_CONNECTED
      - CALENDAR_NOT_WRITABLE
      - INACTIVE_MULTI_CONNECTED_CALENDAR
    FocusTimeSettingsView:
      required:
      - schedulingType
      - schedulingTypeV2
      type: object
      properties:
        schedulingType:
          $ref: '#/components/schemas/FocusTimeSchedulingType'
        schedulingTypeV2:
          $ref: '#/components/schemas/FocusTimeSchedulingTypeV2'
        balloonFill:
          allOf:
          - $ref: '#/components/schemas/BalloonFillView'
        circuitBreaker:
          allOf:
          - $ref: '#/components/schemas/CircuitBreakerView'
    FocusTimeSchedulingType:
      type: string
      deprecated: true
      enum:
      - BALLOON_FILL
      - BALLOON_FILL_MAXIMIZE_DURATIONS
      - CIRCUIT_BREAKER_WEEK_LEVEL
      - CIRCUIT_BREAKER_DAY_LEVEL
      - CIRCUIT_BREAKER_WEEK_AND_DAY_LEVEL
    FocusTimeCircuitBreakerType:
      type: string
      enum:
      - WEEK
      - DAY
      - WEEK_AND_DAY
    FocusVisibility:
      type: string
      enum:
      - DEFAULT
      - PRIVATE
      - PUBLIC
    FocusTimeCountingStyle:
      type: string
      enum:
      - IGNORE_TIME_SCHEME
      - ONLY_WITHIN_TIME_SCHEME
    UserFocusSettingsView:
      required:
      - autoDecline
      - description
      - enabled
      - focusType
      - id
      - status
      - timeSchemeId
      - title
      - visibility
      type: object
      properties:
        id:
          type: integer
          format: int64
        title:
          type: string
        description:
          type: string
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          allOf:
          - $ref: '#/components/schemas/FocusTimeSettingsView'
        enabled:
          type: boolean
        timeSchemeId:
          type: string
        status:
          $ref: '#/components/schemas/UserFocusSettingsStatus'
        autoDecline:
          type: boolean
        autoDeclineText:
          type:
          - string
          - 'null'
        calendarId:
          type:
          - integer
          - 'null'
          format: int64
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    TeamFocusSettingsView:
      required:
      - autoDecline
      - description
      - enabled
      - focusType
      - id
      - policyType
      - title
      - visibility
      type: object
      properties:
        id:
          type: integer
          format: int64
        title:
          type: string
        description:
          type: string
        focusType:
          $ref: '#/components/schemas/FocusType'
        focusTimeSettings:
          allOf:
          - $ref: '#/components/schemas/FocusTimeSettingsView'
        enabled:
          type: boolean
        policyType:
          $ref: '#/components/schemas/TimePolicyType'
        autoDecline:
          type: boolean
        autoDeclineText:
          type:
          - string
          - 'null'
        visibility:
          $ref: '#/components/schemas/FocusVisibility'
    BalloonFillView:
      required:
      - targetChunksPerWeek
      - type
      type: object
      properties:
        targetChunksPerWeek:
          type: integer
          format: int32
        idealChunksPerDay:
          type:
          - integer
          - 'null'
          format: int32
        maxChunksPerDay:
          type:
          - integer
          - 'null'
          format: int32
        minDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
        maxDurationChunks:
          type:
          - integer
          - 'null'
          format: int32
        type:
          $ref: '#/components/schemas/FocusTimeBalloonFillType'
    TimePolicyType:
      type: string
      enum:
      - WORK
      - PERSONAL
      - MEETING
      - ONE_OFF
      - INHERITED
      - CUSTOM
  securitySchemes:
    Authorization:
      type: oauth2