---
title: "Inject Message into Running Agent"
method: POST
path: "/api/chat/inject"
tags: ["Chat"]
---

# Inject Message into Running Agent

`POST /api/chat/inject`

Inject a user message into an active agent execution mid-stream.

## Request body

- InjectMessageRequest
  - `conversation_id` string, required — ID of the running conversation
  - `content` string, required — The message content to inject

## Response `200`

Message injected successfully

- object
  - `status` string
  - `inject_id` string

## Other responses

- `400` — Invalid request or no active execution
- `401` — Unauthorized
- `404` — Conversation not found

---

[API](https://skmtc.dev/fim-ai/apis/fim-one-api.md) · [All operations](https://skmtc.dev/fim-ai/apis/fim-one-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fim-ai/fim-one-api/revisions/6832c00d58dc/schema)
