Liftli Model Config API

The model-config API from Liftli — 5 operation(s) for model-config.

GitHub OpenAPI

Operations 6

GET /api/admin/models/available Get Available Models #
GET /api/admin/models/config Get All Global Configs #
PUT /api/admin/models/config/{context} Set Global Config #
GET /api/admin/models/config/users/{user_id} Get User Overrides #
PUT /api/admin/models/config/users/{user_id}/{context} Set User Override #
DELETE /api/admin/models/config/users/{user_id}/{context} Delete User Override #

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/liftli-ai:liftli-ai-model-config-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

liftli-ai-model-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Liftli Ai Model Config API
  version: 1.4.6
  description: 'Operations tagged model-config across 2 of this provider''s published API definitions: app.liftli.ai.json, app-liftli-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: model-config
paths:
  /api/admin/models/available:
    get:
      tags:
      - model-config
      summary: Get Available Models
      description: Get live model list from all configured providers.
      operationId: get_available_models_api_admin_models_available_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableModelsResponse'
  /api/admin/models/config:
    get:
      tags:
      - model-config
      summary: Get All Global Configs
      description: Get all global model configurations.
      operationId: get_all_global_configs_api_admin_models_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllConfigsResponse'
  /api/admin/models/config/{context}:
    put:
      tags:
      - model-config
      summary: Set Global Config
      description: Set global model config for a context (replaces existing).
      operationId: set_global_config_api_admin_models_config__context__put
      parameters:
      - name: context
        in: path
        required: true
        schema:
          type: string
          title: Context
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetContextConfigRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllConfigsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/models/config/users/{user_id}:
    get:
      tags:
      - model-config
      summary: Get User Overrides
      description: Get all model overrides for a specific user.
      operationId: get_user_overrides_api_admin_models_config_users__user_id__get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllConfigsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/models/config/users/{user_id}/{context}:
    put:
      tags:
      - model-config
      summary: Set User Override
      description: Set user model override for a context.
      operationId: set_user_override_api_admin_models_config_users__user_id___context__put
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: context
        in: path
        required: true
        schema:
          type: string
          title: Context
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetContextConfigRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllConfigsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - model-config
      summary: Delete User Override
      description: Delete user override for a context (reverts to global).
      operationId: delete_user_override_api_admin_models_config_users__user_id___context__delete
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: context
        in: path
        required: true
        schema:
          type: string
          title: Context
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
                title: Response Delete User Override Api Admin Models Config Users  User Id   Context  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AllConfigsResponse:
      properties:
        configs:
          items:
            $ref: '#/components/schemas/ModelConfigResponse'
          type: array
          title: Configs
      type: object
      required:
      - configs
      title: AllConfigsResponse
    SetContextConfigRequest:
      properties:
        models:
          items:
            $ref: '#/components/schemas/ModelEntry'
          type: array
          title: Models
      type: object
      required:
      - models
      title: SetContextConfigRequest
    ModelConfigResponse:
      properties:
        id:
          type: integer
          title: Id
        scope:
          type: string
          title: Scope
        scope_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Scope Id
        context:
          type: string
          title: Context
        model_id:
          type: string
          title: Model Id
        variations:
          type: integer
          title: Variations
        priority:
          type: integer
          title: Priority
      type: object
      required:
      - id
      - scope
      - scope_id
      - context
      - model_id
      - variations
      - priority
      title: ModelConfigResponse
    AvailableModelsResponse:
      properties:
        providers:
          additionalProperties:
            additionalProperties: true
            type: object
          type: object
          title: Providers
      type: object
      required:
      - providers
      title: AvailableModelsResponse
    ModelEntry:
      properties:
        model_id:
          type: string
          title: Model Id
        variations:
          type: integer
          title: Variations
          default: 1
        priority:
          type: integer
          title: Priority
          default: 1
      type: object
      required:
      - model_id
      title: ModelEntry
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- app.liftli.ai.json
- app-liftli-ai-openapi.json
x-provenance:
  method: harvested
  publisher: Liftli
  source: https://app.liftli.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)