---
title: "Send Message"
method: POST
path: "/api/v1/lego-architect/{chat_id}/message"
tags: ["lego-architect"]
---

# Send Message

`POST /api/v1/lego-architect/{chat_id}/message`

Dispatch a new lego-architect turn for this chat.

## Path parameters

- `chat_id` string, uuid, required

## Request body

- LegoMessageRequest
  - `content` string, required
  - `referenced_database_ids` string[], nullable
  - `attachments` object[]

## Response `202`

Successful Response

- LegoTurnResponse
  - `status` string, required

## Other responses

- `422` — Validation Error

---

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