---
title: "Process Minecraft Chat Prompt"
method: POST
path: "/minecraft/chat"
tags: ["Minecraft", "AI"]
---

# Process Minecraft Chat Prompt

`POST /minecraft/chat`

Accepts a chat prompt and processes it using OpenAI. The function echoes the received prompt back as a success confirmation.

## Request body

- object
  - `prompt` string

## Response `200`

The original prompt received, indicating successful processing (Note: The actual AI response is not returned directly by this endpoint).

- object
  - `prompt` string

## Other responses

- `400` — Bad request, e.g., invalid prompt or an error from the OpenAI API
- `500` — Internal server error

---

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