Componecat AI Models API

The AI Models API from Componecat — 4 operation(s) for ai models.

GitHub OpenAPI

Operations 6

GET /api/rest/v1/ai-models List AI models available to the current organization #
POST /api/rest/v1/ai-models Create an AI model configuration #
PATCH /api/rest/v1/ai-models/{id} Update an AI model configuration #
DELETE /api/rest/v1/ai-models/{id} Delete an AI model configuration #
POST /api/rest/v1/ai-models/{id}/set-default Set an AI model as the organization default #
POST /api/rest/v1/ai-models/test-connection Test connectivity to an AI model provider #

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/componecat-ai:componecat-ai-ai-models-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

componecat-ai-ai-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Componecat Ai AI Models API
  version: v1
  description: 'Operations tagged AI Models across 2 of this provider''s published API definitions: componecat-ai-openapi.json, componecat-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.componecat.ai/
security:
- {}
tags:
- name: AI Models
paths:
  /api/rest/v1/ai-models:
    get:
      tags:
      - AI Models
      summary: List AI models available to the current organization
      operationId: ListAIModels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AIModelEntryResource'
    post:
      tags:
      - AI Models
      summary: Create an AI model configuration
      operationId: CreateAIModel
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAIModelRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIModelResource'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/ai-models/{id}:
    patch:
      tags:
      - AI Models
      summary: Update an AI model configuration
      operationId: UpdateAIModel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAIModelRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIModelResource'
    delete:
      tags:
      - AI Models
      summary: Delete an AI model configuration
      operationId: DeleteAIModel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/ai-models/{id}/set-default:
    post:
      tags:
      - AI Models
      summary: Set an AI model as the organization default
      operationId: SetDefaultAIModel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIModelResource'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/ai-models/test-connection:
    post:
      tags:
      - AI Models
      summary: Test connectivity to an AI model provider
      operationId: TestAIModelConnection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestAIModelConnectionRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestAIModelConnectionResult'
    servers:
    - url: https://app.componecat.ai/
components:
  schemas:
    TestAIModelConnectionResult:
      required:
      - ok
      - errorCategory
      - errorMessage
      type: object
      properties:
        ok:
          type: boolean
        errorCategory:
          type: string
        errorMessage:
          type:
          - 'null'
          - string
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - 'null'
          - string
        title:
          type:
          - 'null'
          - string
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int32
        detail:
          type:
          - 'null'
          - string
        instance:
          type:
          - 'null'
          - string
    CreateAIModelRequest:
      required:
      - name
      - provider
      - modelId
      - properties
      - secrets
      - isDefault
      - enabled
      type: object
      properties:
        name:
          type: string
        provider:
          type: string
        modelId:
          type: string
        properties:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        secrets:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        isDefault:
          type: boolean
        enabled:
          type:
          - 'null'
          - boolean
    UpdateAIModelRequest:
      required:
      - name
      - provider
      - modelId
      - properties
      - secrets
      - isDefault
      - enabled
      - clearedSecretKeys
      type: object
      properties:
        name:
          type:
          - 'null'
          - string
        provider:
          type:
          - 'null'
          - string
        modelId:
          type:
          - 'null'
          - string
        properties:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        secrets:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        isDefault:
          type:
          - 'null'
          - boolean
        enabled:
          type:
          - 'null'
          - boolean
        clearedSecretKeys:
          type:
          - 'null'
          - array
          items:
            type: string
    AIModelResource:
      required:
      - id
      - name
      - provider
      - modelId
      - properties
      - isDefault
      - enabled
      - usedAt
      - createdAt
      - updatedAt
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        provider:
          type: string
        modelId:
          type: string
        properties:
          type: array
          items:
            $ref: '#/components/schemas/AIModelPropertyResource'
        isDefault:
          type: boolean
        enabled:
          type: boolean
        usedAt:
          type:
          - 'null'
          - string
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    AIModelPropertyRequest:
      required:
      - key
      - value
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    AIModelEntryResource:
      required:
      - id
      - name
      - provider
      - modelId
      - properties
      - isDefault
      - enabled
      - source
      - usedAt
      - createdAt
      - updatedAt
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        provider:
          type: string
        modelId:
          type: string
        properties:
          type: array
          items:
            $ref: '#/components/schemas/AIModelPropertyResource'
        isDefault:
          type: boolean
        enabled:
          type: boolean
        source:
          type: string
        usedAt:
          type:
          - 'null'
          - string
          format: date-time
        createdAt:
          type:
          - 'null'
          - string
          format: date-time
        updatedAt:
          type:
          - 'null'
          - string
          format: date-time
    TestAIModelConnectionRequest:
      required:
      - provider
      - modelId
      - properties
      - secrets
      - id
      type: object
      properties:
        provider:
          type: string
        modelId:
          type: string
        properties:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        secrets:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/AIModelPropertyRequest'
        id:
          type:
          - 'null'
          - string
          format: uuid
    AIModelPropertyResource:
      required:
      - key
      - value
      type: object
      properties:
        key:
          type: string
        value:
          type: string
  securitySchemes:
    bearer:
      type: http
      description: Personal access token. Create one in the application settings.
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- componecat-ai-openapi.json
- componecat-ai-openapi.yml