---
title: "将排队消息改为立即注入"
method: POST
path: "/sessions/{session_id}/steer/{steer_id}/inject"
tags: ["问答"]
---

# 将排队消息改为立即注入

`POST /sessions/{session_id}/steer/{steer_id}/inject`

把一条 delivery=after 的排队消息改为 inject，运行中的 agent 会在下一轮边界读到它。

## Path parameters

- `session_id` string, required
- `steer_id` string, required

## Response `200`

queued | new_run

- object

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `503` — 活 turn 查询失败，可重试

## Changes

- **2026-09-17** `72436bd81b37` — 1 info
  - endpoint added
- **2026-09-11** `a11720c40679` — 1 breaking
  - api path removed without deprecation
- **2026-09-11** `7c276b8ba2d3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/sessions/:session_id/steer/:steer_id/inject/post.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/710d29c05955?raw)
