GET/api/gateway/catalog

Get the catalog as your organization resolves it

Every routable slug your keys can call: public aliases plus your custom models, with your custom model shadowing a public alias of the same name. Each provider is labeled with the lane your traffic rides: pass_through (your own key or endpoint) or platform_funded (credits).

Authentication: Bearer API key in the Authorization header

Query parameters

  • org_idstringrequired

    Your organization id.

Responses

  • 200

    The resolved aliases.

    Response
    • org_idstring
    • aliasesarray<object>
      aliases
      • aliasstring

        The slug a request sends.

      • customboolean

        Your own custom model (shadows a public alias of the same name for your keys).

      • revision_idstring
      • refusal_failoverboolean
      • providersarray<object>

        In waterfall order.

        providers
        • providerstring
        • laneenum
          "pass_through""platform_funded"
  • 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).

  • 404

    The organization is not yours.

    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

    The body or query failed validation.

    Response
    • detailarray<object>required
      detail
      • typestring
      • locarray<string | integer>
      • msgstring

Request

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

Response

{
  "org_id": "3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10",
  "aliases": [
    {
      "alias": "gpt-6-luna",
      "custom": false,
      "revision_id": "rev-4b1e9c2d7a5f3e8b0c6d1a9f2e7b4c8d5a3f0e6b9c2d7a1f4e8b3c5d0a9f6e2b",
      "refusal_failover": false,
      "providers": [
        {
          "provider": "openai",
          "lane": "pass_through"
        },
        {
          "provider": "azure_openai",
          "lane": "platform_funded"
        }
      ]
    },
    {
      "alias": "my-local-model",
      "custom": true,
      "revision_id": "rev-9a2f6e1b4c8d3a7f0e5b2c9d6a1f8e4b7c3d0a5f2e9b6c1d8a4f7e3b0c5d2a9f",
      "refusal_failover": false,
      "providers": [
        {
          "provider": "local",
          "lane": "pass_through"
        }
      ]
    }
  ]
}

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