The id the agent itself takes, e.g. deepseek/v4-pro.
API reference sections
Schema
AgentModelView
Type object
Shape
| Field | Type | Description |
|---|---|---|
| idrequired | string | |
| grouprequired | string | The agent's grouping of it - OpenCode's provider, Codex's one group. |
| name | string or null | The agent's own name for the model, e.g. |
| description | string or null | The agent's own description of the model. |
| group_name | string or null | The agent's own name for the group, e.g. |
| legacy | boolean | The agent marks the model as older. Koru never infers it. |
| reasoning | ReasoningControl or null | The reasoning levels the model offers, in Koru's words, and the agent's stated default when it states one. Absent for a model with none: a client shows it no level control. |
| context | AgentModelContext or null | A longer context window the model runs with under an id of its own (koru-ai D10). A chat chooses it by taking that id as its model. Absent for a model with no such choice. |
| fast | AgentModelFast or null | The model offers the agent's Fast mode (koru-ai D11), and whether it runs in it by default. Absent for a model without one: a client shows no Fast control. |
{
"id": "string",
"group": "string",
"name": "string",
"description": "string",
"group_name": "string",
"legacy": false,
"reasoning": {
"kind": "unsupported"
},
"context": {
"id": "string",
"tokens": 0
},
"fast": {
"on_by_default": false
}
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Generated from contract version 1. Last updated .
