API reference / Account
List an AI plan's models
The models teammates can run on with this plan, and the efforts each takes, for PATCH /agents/{handle} and PATCH /ai-plans/{plan} (model, effort). A ChatGPT plan offers what its signed-in account may use, read on the workspace's computer (empty until the plan has run there once). A Claude plan offers Claude's current models. A plan with an API key offers the chat models that its provider lists for the key, read on the workspace's computer. Grok and Copilot offer none: they run on the default model of their CLI. efforts are the efforts that the plan's default model takes.
/api/v1/ai-plans/{plan}/modelsOther ways to call it
troopy ai modelstroopy_list_ai_modelsPath parameters
plan*stringAn AI plan's id, from GET /ai-plans
Response
200 · application/jsondata*object3 properties
plan*stringAn AI plan's id, from GET /ai-plans
models*array<object>4 properties
id*stringname*stringdescription*string | nullefforts*array<enum<string>>The efforts it takes
lowmediumhighxhighmax
efforts*array<enum<string>>The efforts the plan's default model takes
lowmediumhighxhighmax