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

# List available models.

> Returns the models visible to the caller, including each model's status and public limits. This free endpoint does not require an API key; a bearer key is an optional alternative in the current contract. Use the returned `id` value in a decision request.



## OpenAPI

````yaml /openapi.json get /v1/models
openapi: 3.1.0
info:
  title: Aspas Labs API
  version: 1.0.0
  description: >-
    A small, direct API for structured decisions with Goldenfish. The free
    decision and model discovery surface does not require an API key. Send
    context, an instruction, and either inline choices or a reusable catalog.
    The response returns one selected choice, confidence, probabilities, the
    model used, and input-token usage. The model is selected in the request body
    so the public contract stays stable as the model catalog grows. Catalog
    management is a separate protected surface and requires a bearer key.
  contact:
    name: Aspas Labs
    url: https://aspaslabs.com/
    email: hello@aspaslabs.com
  license:
    name: Aspas Labs API terms
    url: https://aspaslabs.com/
servers:
  - url: https://api.aspaslabs.com
    description: Production
security: []
tags:
  - name: Decisions
    description: >-
      Run a constrained inference request and receive a typed choice with
      confidence and per-choice probabilities.
  - name: Models
    description: >-
      Discover model identifiers, availability status, and public input and
      choice limits.
  - name: Catalogs
    description: Create and manage named choice catalogs for repeatable decision workflows.
  - name: Health
    description: >-
      Check process liveness and whether an inference worker is ready to serve
      requests.
paths:
  /v1/models:
    get:
      tags:
        - Models
      summary: List available models.
      description: >-
        Returns the models visible to the caller, including each model's status
        and public limits. This free endpoint does not require an API key; a
        bearer key is an optional alternative in the current contract. Use the
        returned `id` value in a decision request.
      operationId: listModels
      responses:
        '200':
          description: Model list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
      security:
        - {}
        - apiKey: []
components:
  schemas:
    ModelList:
      type: object
      description: A list response containing the models visible to the caller.
      required:
        - object
        - data
      properties:
        object:
          const: list
          description: Always `list` for this response object.
        data:
          type: array
          description: The available model descriptors.
          items:
            $ref: '#/components/schemas/Model'
    Model:
      type: object
      description: A model descriptor returned by the model discovery endpoints.
      required:
        - id
        - object
        - owned_by
        - status
        - limits
      properties:
        id:
          type: string
          description: The model identifier to use in a decision request.
          example: goldenfish-g1
        object:
          const: model
          description: Always `model` for this response object.
        owned_by:
          type: string
          description: The organization responsible for the model.
          example: aspaslabs
        status:
          type: string
          description: Whether the model can currently accept inference requests.
          enum:
            - ready
            - unavailable
            - disabled
        limits:
          $ref: '#/components/schemas/ModelLimits'
    ModelLimits:
      type: object
      description: >-
        Public limits reported for a model. Read these values at runtime instead
        of hard-coding the example values.
      properties:
        input_tokens:
          type: integer
          minimum: 1
          description: Maximum input size in tokens.
          example: 4096
        candidate_tokens:
          type: integer
          minimum: 1
          description: Maximum candidate-token budget.
          example: 128
        choices:
          type: integer
          minimum: 2
          description: Maximum number of choices accepted in a request or catalog.
          example: 300
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: gf_live_...
      description: >-
        Use a bearer key beginning with `gf_live_...` for protected catalog
        operations. Keep keys server-side. Aspas Labs does not currently expose
        a self-service dashboard or key-management page.

````

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