Patricia Model Settings API

The model-settings API from Patricia — 1 operation(s) for model-settings.

GitHub OpenAPI

Operations 2

GET /v1/model-settings Get the workspace intelligence levels #
PATCH /v1/model-settings Set the workspace intelligence level #

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/patricia-app:patricia-app-model-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

patricia-app-model-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Model Settings API
  version: 0.1.0
tags:
- name: model-settings
paths:
  /v1/model-settings:
    get:
      tags:
      - model-settings
      summary: Get the workspace intelligence levels
      description: Show each intelligence level, the model and thinking setup it resolves to for this workspace, which level regular work uses, what each level is used for, and the models the workspace can build its own setup from.
      operationId: get_model_settings_v1_model_settings_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelSettingsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    patch:
      tags:
      - model-settings
      summary: Set the workspace intelligence level
      description: Choose one intelligence level for regular workspace work, save your own model and thinking choice, or restore Patricia's recommended levels. Quick checks and messages that ask Patricia to take more time keep their separate levels. Changes take effect on the next run.
      operationId: update_model_settings_v1_model_settings_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelSettingsUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelSettingsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Choosing a level or a setup needs a paid plan (`PAID_PLAN_REQUIRED`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ThinkingOption:
      properties:
        value:
          type: string
          title: Value
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
      type: object
      required:
      - value
      - label
      - description
      title: ThinkingOption
      description: One thinking level a specific model can actually be run at.
    ModelSettingsUpdate:
      properties:
        tier:
          anyOf:
          - type: string
          - type: 'null'
          title: Tier
          description: 'The intelligence level for regular work: deep, balanced, or fast.'
        custom:
          anyOf:
          - $ref: '#/components/schemas/CustomModelUpdate'
          - type: 'null'
          description: Your model and thinking setup for regular workspace work.
        reset_to_recommended:
          type: boolean
          title: Reset To Recommended
          default: false
      additionalProperties: false
      type: object
      title: ModelSettingsUpdate
      description: 'PATCH body: pick a level, build a custom setup, or restore the recommendation.'
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    ModelTierView:
      properties:
        key:
          type: string
          title: Key
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
        used_for:
          items:
            type: string
          type: array
          title: Used For
        model_id:
          type: string
          title: Model Id
        model_label:
          type: string
          title: Model Label
        reasoning:
          type: boolean
          title: Reasoning
        thinking_label:
          type: string
          title: Thinking Label
        posture_label:
          type: string
          title: Posture Label
        cost_label:
          type: string
          title: Cost Label
        between_steps_label:
          type: string
          title: Between Steps Label
        effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Effort
        is_chat_default:
          type: boolean
          title: Is Chat Default
        overridden:
          type: boolean
          title: Overridden
        fallback_model_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallback Model Id
        fallback_model_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallback Model Label
        fallback_effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallback Effort
        fallback_posture_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Fallback Posture Label
        fallback_note:
          type: string
          title: Fallback Note
          default: ''
      type: object
      required:
      - key
      - label
      - description
      - used_for
      - model_id
      - model_label
      - reasoning
      - thinking_label
      - posture_label
      - cost_label
      - between_steps_label
      - effort
      - is_chat_default
      - overridden
      title: ModelTierView
      description: One reasoning level as the workspace actually runs it.
    ModelSettingsResponse:
      properties:
        tiers:
          items:
            $ref: '#/components/schemas/ModelTierView'
          type: array
          title: Tiers
        selected_tier:
          anyOf:
          - type: string
          - type: 'null'
          title: Selected Tier
        using_recommended_routing:
          type: boolean
          title: Using Recommended Routing
        using_recommended:
          type: boolean
          title: Using Recommended
        models:
          items:
            $ref: '#/components/schemas/ModelChoice'
          type: array
          title: Models
        custom_tier:
          type: string
          title: Custom Tier
        custom_scope_note:
          type: string
          title: Custom Scope Note
        custom:
          anyOf:
          - $ref: '#/components/schemas/CustomSetupView'
          - type: 'null'
        model_choice_locked:
          type: boolean
          title: Model Choice Locked
          default: false
        model_choice_locked_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Model Choice Locked Note
      type: object
      required:
      - tiers
      - selected_tier
      - using_recommended_routing
      - using_recommended
      - models
      - custom_tier
      - custom_scope_note
      title: ModelSettingsResponse
      description: The workspace's effective reasoning state, plus what it can choose from.
    ModelChoice:
      properties:
        id:
          type: string
          title: Id
        label:
          type: string
          title: Label
        description:
          type: string
          title: Description
        provider_label:
          type: string
          title: Provider Label
        cost_label:
          type: string
          title: Cost Label
        thinking_options:
          items:
            $ref: '#/components/schemas/ThinkingOption'
          type: array
          title: Thinking Options
        recommended:
          type: boolean
          title: Recommended
        warning:
          type: string
          title: Warning
          default: ''
      type: object
      required:
      - id
      - label
      - description
      - provider_label
      - cost_label
      - thinking_options
      - recommended
      title: ModelChoice
      description: One model a workspace can actually be routed to, as offered in the picker.
    CustomSetupView:
      properties:
        tier:
          type: string
          title: Tier
        model_id:
          type: string
          title: Model Id
        model_label:
          type: string
          title: Model Label
        effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Effort
        thinking_label:
          type: string
          title: Thinking Label
        posture_label:
          type: string
          title: Posture Label
      type: object
      required:
      - tier
      - model_id
      - model_label
      - effort
      - thinking_label
      - posture_label
      title: CustomSetupView
      description: The workspace's own model + thinking choice, when it has one.
    CustomModelUpdate:
      properties:
        model_id:
          type: string
          title: Model Id
        effort:
          anyOf:
          - type: string
          - type: 'null'
          title: Effort
      additionalProperties: false
      type: object
      required:
      - model_id
      title: CustomModelUpdate
      description: A workspace's own model + thinking choice for everyday work.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer