---
title: "Send Step Code Chat Message"
method: POST
path: "/api/v1/step-code-chat/{chat_id}/message"
tags: ["step-code-chat"]
---

# Send Step Code Chat Message

`POST /api/v1/step-code-chat/{chat_id}/message`

Start a turn: the agent reads the step's code and edits or explains it.

## Path parameters

- `chat_id` string, uuid, required

## Request body

- StepCodeChatRequest
  - `content` string, required
  - `attachments` object[]

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-20** `aecc29b8a546` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netter/apis/dmi-backend/changes/api/v1/step-code-chat/:chat_id/message/post.md)

---

[API](https://skmtc.dev/netter/apis/dmi-backend.md) · [All operations](https://skmtc.dev/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netter/dmi-backend/revisions/eed6fb164abd/schema)
