---
title: "Return the cached model picker for one agent, discovering it on first use"
method: GET
path: "/api/v1/agents/{agent}/models"
tags: ["agents"]
---

# Return the cached model picker for one agent, discovering it on first use

`GET /api/v1/agents/{agent}/models`

## Path parameters

- `agent` string, required — Agent adapter identifier.

## Query parameters

- `projectId` string — Optional project identifier used as the model-catalog cache scope.

## Response `200`

OK

- AgentModelsResponse
  - `agentId` string, required
  - `allowCustom` boolean, required
  - `binaryVersion` string
  - `fetchedAt` string, date-time, required
  - `models` AgentModelInfo[], required
    - `id` string, required
    - `isDefault` boolean
    - `label` string, required
    - `provider` string
  - `refreshRecommended` boolean
  - `selectionMode` 'catalog' | 'text' | 'mode', required
  - `source` string, required
  - `stale` boolean, required
  - `validatedAt` string, date-time
  - `warning` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `501` — Not Implemented

---

[API](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.net/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/agent-orchestrator-http-daemon/versions/6ffec0ec12f0/schema)
