---
title: "POST /api/copilot/mod-generation/"
method: POST
path: "/api/copilot/mod-generation/"
tags: ["copilot"]
---

# POST /api/copilot/mod-generation/

`POST /api/copilot/mod-generation/`

Generate a new mod from a chat conversation, returning the AI assistant's reply (and any tool calls), optionally streamed as server-sent events.

## Request body

- unknown

## Response `201`

---

[API](https://skmtc.dev/pixiebrix/apis/pixiebrix-api.md) · [All operations](https://skmtc.dev/pixiebrix/apis/pixiebrix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pixiebrix/pixiebrix-api/revisions/941ab9eb01d6/schema)
