---
title: "Workflow Ai Chat"
method: POST
path: "/api/workflows/chat"
tags: ["Workflows"]
---

# Workflow Ai Chat

`POST /api/workflows/chat`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/workflows/chat`
- Auth: HTTP bearer

AI chat endpoint for workflow generation and modification.
Uses Claude Sonnet via Bedrock with generate_workflow and modify_workflow tools.
Streams events via SSE.

## Request body

- WorkflowChatRequest: Request model for workflow AI chat
  - `messages` object[]
  - `current_nodes` object[]
  - `current_edges` object[]
  - `workflow_name` string
  - `context` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
