---
search:
  tags:
    - Ask Iven
    - POST
seo:
  description: >-
    Ask Iven in a new chat or a chat this key created; the complete answer, or
    SSE with… Reference for the POST /v1/ask endpoint in the Aiventic Public
    API.
sidebar:
  label: Ask Iven
  badge: POST
title: Ask Iven
type: openapi-operation
---
Ask Iven in a new chat or a chat this key created; the complete answer, or SSE with stream: true.

Scope: `chat`

`POST /v1/ask`

**Request body** (`application/json`, required)

- `content` (string | null) — The question. Required unless pick is given, and absent with pick.
- `chatId` (string<uuid> | null) — The chat to continue. Omit to start a new chat. Required with pick.
- `brand` (string | null) — The brand the question is about. New chat only.
- `model` (string | null) — The model the question is about. New chat only.
- `pick` (PublicPick | null) — Answers a choice or quick reply from an earlier answer, instead of content. Needs chatId.
- `stream` (boolean) — true sends the answer as server-sent events while Iven writes it.

Request body example:

```json
{
  "brand": "Whirlpool",
  "model": "WRF555SDFZ",
  "content": "E4 error on the display"
}
```

**Responses**

- `200` — OK
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `413` — Payload Too Large
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error
- `504` — Gateway Timeout

Response example, 200:

```json
{
  "chatId": "string",
  "messageId": "string",
  "text": "string",
  "citations": [
    {
      "type": "manual",
      "title": "string",
      "url": null,
      "page": null
    }
  ],
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "choice",
      "status": "pending",
      "choice": {},
      "quickReply": {},
      "partCard": {},
      "resolution": {}
    }
  ]
}
```
