Commit 0167034
Document inference_id parameter for Agent Builder model routing (#7287)
Closes elastic/docs-content-internal#1255
Documents the `inference_id` / `connector_id` parameters for per-request
model routing on the Agent Builder Converse API.
## Context
elastic/kibana#262014 shipped a public alias for `connector_id` used for
**agent model routing** on the **Converse API** and the **`ai.agent`
workflow step**.
## Changes
- `agent-builder/kibana-api.md`: new "Route a request to a specific
model" example in **Chat and conversations**, covering `connector_id` /
`inference_id`, mutual exclusivity, and default behavior.
- `agent-builder/models.md`: new "Select a model for a single request"
section pointing to the API.
The `ai.agent` workflow step is documented separately — see **Related**.
## Details
- **Source:** elastic/kibana#262014 (by @ashatova, merged 2026-04-10)
- **Availability:** `stack: ga 9.4+`, `serverless: ga`
- Sending both `connector_id` and `inference_id` returns `400 Bad
Request`; omitting both uses the agent's default model.
## Related
- Companion PR #7289
corrects the `ai.agent` workflow step docs (`agents-and-workflows.md`),
including its `connector-id` / `inference-id` model routing. No file
overlap between the two.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Charlotte Hoblik <116336412+charlotte-hoblik@users.noreply.github.com>1 parent 00e28cd commit 0167034
2 files changed
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1075 | 1117 | | |
1076 | 1118 | | |
1077 | 1119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
| |||
0 commit comments