Endpoints
GET /v1/modelsreturns the global model catalog keyed by backend.GET /v1/harnesses/{id}/modelsreturns the model set allowed for one configured agent.
Backend map
GET /v1/models is keyed by backend. The base harness claude-code corresponds to backend key claude; other base harnesses generally use the same key as the base name.
Model catalog shape
{
"backends": {
"codex": { "default": "<id>", "models": [] },
"claude": { "default": "<id>", "models": [] },
"hermes": { "default": "<id>", "models": [] }
}
}