GET/api/aliases

List named aliases

A named alias is a model name you define (for example coding) that points at a model you can repoint later without callers changing the name they send. Org admin or the provisioning key.

Authentication: Bearer API key in the Authorization header

Query parameters

  • org_idstringrequired

    Your organization id (uuid). GET /api/whoami returns it.

Responses

  • 200

    Named aliases with their current target model.

    Response
    • aliasesarray<object>required
      aliases
      • alias_idstringrequired
      • namestringrequired
      • org_idstringrequired
      • activebooleanrequired
      • current_revision_idstring | nullrequired
      • target_model_slugstring | nullrequired
      • target_model_idstring | nullrequired
  • 401

    Missing, unknown or revoked API key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 403

    The key is not a provisioning key (inference keys are refused, reads included), or it is a customer-plan key.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    Unknown organization, or not the key's own organization.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 422

    Missing org_id.

    Response
    • errorstringrequired

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

Request

curl 'https://api.experientiallabs.ai/api/aliases?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

Response

{
  "aliases": [
    {
      "alias_id": "named-4f2a9c1e7b3d4e5f8a6c0d2e1b9f7a3c",
      "name": "coding",
      "org_id": "3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10",
      "active": true,
      "current_revision_id": "nrev-9d1e3c5a7b2f4d6e8a0c1b3d5f7e9a2c",
      "target_model_slug": "claude-sonnet-4.6",
      "target_model_id": "1f0c9a2e-5b7d-4c3a-9e81-0a6d2f4b7c13"
    }
  ]
}

https://api.experientiallabs.ai/api/aliases?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10