> ## Documentation Index
> Fetch the complete documentation index at: https://ago.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Llm Model

> Register an LLM model of a catalog provider.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/llm-models
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/llm-models:
    post:
      tags:
        - LLM Models
      summary: Create Llm Model
      description: Register an LLM model of a catalog provider.
      operationId: core_api_v1_controllers_llm_models_create_llm_model
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LLMModelIn'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LLMModelSchema'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    LLMModelIn:
      properties:
        name:
          title: Name
          type: string
        model_name:
          default: ''
          title: Model Name
          type: string
        provider:
          title: Provider
          type: string
        reasoning:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Reasoning
      required:
        - name
        - provider
      title: LLMModelIn
      type: object
    LLMModelSchema:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
        model_name:
          title: Model Name
          type: string
        provider:
          title: Provider
          type: string
        azure_endpoint:
          anyOf:
            - type: string
            - type: 'null'
          title: Azure Endpoint
        azure_api_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Azure Api Version
        has_azure_api_key:
          default: false
          title: Has Azure Api Key
          type: boolean
        base_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Base Url
        has_api_key:
          default: false
          title: Has Api Key
          type: boolean
        reasoning:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Reasoning
        used_by:
          default: []
          items:
            type: string
          title: Used By
          type: array
      required:
        - id
        - name
        - model_name
        - provider
      title: LLMModelSchema
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.