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

# List models available to the API key project



## OpenAPI

````yaml https://api.abliteration.ai/openapi.json get /v1/models
openapi: 3.1.0
info:
  title: Abliteration Platform API
  summary: Greenfield Abliteration backend and API gateway.
  version: 0.1.0
servers: []
security: []
paths:
  /v1/models:
    get:
      tags:
        - Models
      summary: List models available to the API key project
      operationId: listModels
      parameters:
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Bearer API key.
            title: Authorization
          description: Bearer API key.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              API key alternative for Anthropic-compatible clients.
              Authorization takes precedence when both headers are present.
            title: X-Api-Key
          description: >-
            API key alternative for Anthropic-compatible clients. Authorization
            takes precedence when both headers are present.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicModelListResponse'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Conflict
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    PublicModelListResponse:
      properties:
        object:
          type: string
          const: list
          title: Object
          default: list
        data:
          items:
            $ref: '#/components/schemas/PublicModelResponse'
          type: array
          title: Data
      type: object
      required:
        - data
      title: PublicModelListResponse
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: ErrorResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublicModelResponse:
      properties:
        id:
          type: string
          title: Id
          description: Public model ID accepted by inference endpoints.
        object:
          type: string
          const: model
          title: Object
          default: model
        owned_by:
          type: string
          const: abliteration.ai
          title: Owned By
          default: abliteration.ai
        name:
          type: string
          title: Name
          description: Human-readable model name.
        display_name:
          type: string
          title: Display Name
          description: Human-readable model display name.
        access:
          $ref: '#/components/schemas/PublicModelAccess'
        created:
          type: integer
          title: Created
          description: Unix timestamp for the model catalog entry.
        input_modalities:
          items:
            type: string
            enum:
              - text
              - image
              - file
              - audio
              - video
          type: array
          title: Input Modalities
        output_modalities:
          items:
            type: string
            enum:
              - text
              - image
              - file
              - audio
              - video
          type: array
          title: Output Modalities
        pricing:
          $ref: '#/components/schemas/PublicModelPricing'
        supported_sampling_parameters:
          items:
            type: string
          type: array
          title: Supported Sampling Parameters
        supported_features:
          items:
            type: string
          type: array
          title: Supported Features
        is_ready:
          type: boolean
          title: Is Ready
        quantization:
          type: string
          title: Quantization
        context_length:
          type: integer
          title: Context Length
        max_output_length:
          type: integer
          title: Max Output Length
        root:
          type: string
          title: Root
        parent:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent
      additionalProperties: false
      type: object
      required:
        - id
        - name
        - display_name
        - access
        - created
        - input_modalities
        - output_modalities
        - pricing
        - supported_sampling_parameters
        - supported_features
        - is_ready
        - quantization
        - context_length
        - max_output_length
        - root
      title: PublicModelResponse
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Stable machine-readable error code.
        message:
          type: string
          title: Message
          description: Bounded human-readable error message.
        type:
          $ref: '#/components/schemas/ErrorType'
          description: Broad stable error category.
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
          description: Request field related to the error.
        request_id:
          type: string
          title: Request Id
          description: Server-owned canonical request ID.
        doc_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Doc Url
          description: Documentation URL for the error.
      type: object
      required:
        - code
        - message
        - type
        - request_id
      title: ErrorDetail
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    PublicModelAccess:
      properties:
        required_checks:
          items:
            type: string
          type: array
          title: Required Checks
        available:
          type: boolean
          title: Available
        locked:
          type: boolean
          title: Locked
        missing_requirements:
          items:
            type: string
          type: array
          title: Missing Requirements
      additionalProperties: false
      type: object
      required:
        - required_checks
        - available
        - locked
        - missing_requirements
      title: PublicModelAccess
    PublicModelPricing:
      properties:
        prompt:
          type: string
          title: Prompt
          description: USD price per prompt token.
        completion:
          type: string
          title: Completion
          description: USD price per completion token.
        image:
          type: string
          title: Image
          description: USD price per image.
        request:
          type: string
          title: Request
          description: USD price per request.
        input_cache_read:
          type: string
          title: Input Cache Read
          description: USD price per cached input token read.
      additionalProperties: false
      type: object
      required:
        - prompt
        - completion
        - image
        - request
        - input_cache_read
      title: PublicModelPricing
    ErrorType:
      type: string
      enum:
        - auth_error
        - permission_error
        - validation_error
        - rate_limit_error
        - billing_error
        - moderation_error
        - media_error
        - not_found_error
        - conflict_error
        - provider_error
        - internal_error
      title: ErrorType

````