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

# List aliases

> Your workspace's model aliases.



## OpenAPI

````yaml /openapi.json get /v1/aliases
openapi: 3.1.0
info:
  title: Omnia Management API
  description: >-
    The management API behind the improvement loop: capture and setup, request
    logs and datasets, grades (labels), judges (criteria), evals and deploy
    gates, fine-tuning and reinforcement learning, dedicated GPU endpoints, and
    model aliases and versions. Authenticated with a workspace API key
    (sk_sovereign_...). The inference API (chat, embeddings, rerank, responses)
    is OpenAI-compatible and documented separately.


    Responses are snake_case, list endpoints on the loop products use the
    {"object": "list", "data": [...]} envelope, and refusals use the same nested
    error shape the gateway emits: {"error": {"message", "type", "code"}}.
    Request bodies on the loop products (logs, labels, criteria, evals,
    datasets, aliases) are snake_case; the training and infrastructure products
    (fine-tuning, GRPO, environment tools, dedicated, model-version adoption)
    validate camelCase bodies, and each schema below says which it is. Endpoints
    that spend money require a key minted by a workspace owner or admin and
    return 403 otherwise.
  version: 1.0.0
servers:
  - url: https://gateway.omnia-voice.com
    description: Production
  - url: https://platform.omnia-voice.com/api
    description: Production (legacy alias — same API, older base URL)
security:
  - bearerAuth: []
paths:
  /v1/aliases:
    get:
      tags:
        - Model aliases
      summary: List aliases
      description: Your workspace's model aliases.
      operationId: listAliases
      responses:
        '200':
          description: The aliases.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ModelAlias'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ModelAlias:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          example: support-bot
          description: The name you put in `model`.
        target_model:
          type: string
          description: The model this resolves to today.
        canary_model:
          type:
            - string
            - 'null'
        canary_percent:
          type: integer
          description: 0–100. Share of requests routed to canaryModel.
        description:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        gate_criterion_id:
          type:
            - string
            - 'null'
        gate_mode:
          type: string
          enum:
            - recommend
            - auto
        gate_verdict:
          type:
            - object
            - 'null'
          description: >-
            The last gate evaluation: {decision: promote|rollback|hold, reason,
            canary: {model, rate, ci, judged}, incumbent: {...}, acted}.
        gate_verdict_at:
          type:
            - string
            - 'null'
          format: date-time
        gate_min_samples:
          type: integer
          description: >-
            No gate verdict until both canary arms have this many scored samples
            in the window.
        gate_rollback_threshold:
          type: number
          description: >-
            Roll back only when even the canary's optimistic bound (CI upper)
            sits below this corrected pass rate.
        gate_window_hours:
          type: integer
          description: Scores older than this do not count toward the verdict.
        model_version_id:
          type:
            - string
            - 'null'
          description: >-
            The model version this alias currently serves, when it points at a
            trained version (null for raw catalog models). Repoint to an older
            version to roll back.
        require_evidence:
          type: boolean
          description: >-
            Evidence policy: with this on, a repoint that would send traffic to
            an unproven model is refused with 412 unless a passing, in-window
            comparison exists (or an audited override_reason is given).
        last_evidence_run_id:
          type:
            - string
            - 'null'
          description: >-
            The eval run that authorized the current routing. Null when the
            routing predates the policy or went through as an audited override.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
              description: >-
                invalid_request_error, insufficient_quota, rate_limit_error, or
                api_error.
            code:
              type: string
              description: >-
                Machine-stable cause, e.g. invalid_api_key, not_found,
                insufficient_permissions, precondition_failed.
          required:
            - message
            - type
            - code
      description: >-
        Every refusal — gateway and management API alike — uses this one
        envelope.
  responses:
    Unauthorized:
      description: Missing, malformed, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              message: Invalid API key
              type: invalid_request_error
              code: invalid_api_key
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your workspace API key, e.g. `sk_sovereign_...`, sent as `Authorization:
        Bearer <key>`.

````