---
title: "Ask AI a prompt"
method: POST
path: "/ask"
---

# Ask AI a prompt

`POST /ask`

Send a prompt to the AI service and get a streaming response

## Request body

- object
  - `prompt` string, required — The prompt to ask the AI

## Response `200`

Streaming AI response

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.dev/livesession/apis/ask-ai-widget-api.md) · [All operations](https://skmtc.dev/livesession/apis/ask-ai-widget-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/livesession/ask-ai-widget-api/revisions/f7cf6165a6ec/schema)
