Skip to main content
GET
List fallback chains
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

GET /api/v2/models/listFallbackChains returns every model fallback chain, system chains first, then by name, as the Console’s fallback chains page lists them.

Authority

You need agents:read at the platform scope; a grant only at an org unit is a recorded 403. An unavailable chain store is a 500, never an empty list.

What it returns

Each chain carries id (what an agent stores as fallbackChainId), name, description, isActive, purpose, isSystem, syncStatus, createdAt, updatedAt and models: each member’s modelId, provider, priority, weight and disabled, in priority order (lowest first). Never a chain’s external id, content hash or sync error. Page with limit and cursor. meta.partial is true past 500 chains, and the last page then answers meta.hasMore: false with meta.truncated: true.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Query Parameters

limit
integer
default:50

Items per page, 1 to 100 (default 50); a larger value is a 400 too_big. A page may hold fewer items than limit while meta.hasMore is true; continue with meta.nextCursor.

Required range: 1 <= x <= 100
cursor
string

The previous page's meta.nextCursor; any other value is 400.

Minimum string length: 1

Response

Fallback chains

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.