---
title: "Ask a general legal question (sync or streamed)"
method: POST
path: "/api/v1/ask"
tags: ["Ask"]
---

# Ask a general legal question (sync or streamed)

`POST /api/v1/ask`

## Request

- Base URL: `https://app.ezel.ai`
- URL: `https://app.ezel.ai/api/v1/ask`
- Auth: HTTP bearer

## Request body

- AskRequest
  - `question` string, required
  - `stream` boolean: If true, responds with text/event-stream SSE.

## Response `200`

Answer (JSON) or SSE stream when stream=true

- AskResponse
  - `answer` string
  - `citations` object[]
  - `conversation_id` string
  - `sources` object[]

## Other responses

- `401`: Missing or invalid API key
- `403`: Forbidden, missing scope, or feature disabled
- `429`: Rate limit or usage limit exceeded

---

[API](https://skmtc.dev/ezel/apis/ezel-api.md) · [All operations](https://skmtc.dev/ezel/apis/ezel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ezel/apis/ezel-api/revisions/2d363aa60b21?raw)
