---
title: "Generate Questions"
method: POST
path: "/v1/generate-questions"
tags: ["questions"]
---

# Generate Questions

`POST /v1/generate-questions`

## Request

- Base URL: `https://api.opero.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.opero.pro/v1/generate-questions`
- Auth: none declared

Generate relevant questions based on an organization's document titles.

## Request body

- QuestionGenerationRequest
  - `org_id` string, nullable
  - `question_count` integer, nullable
  - `language` 'English' | 'Spanish' | 'French' | 'German' | 'Italian' | 'Portuguese' | 'Dutch' | 'Swedish' | 'Danish', nullable

## Response `200`

Successful Response

- QuestionGenerationResponse
  - `success` boolean, required
  - `questions` string[], required
  - `document_count` integer, required
  - `organization_name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/opero/apis/opero-pro-api.md) - [All operations](https://skmtc.dev/opero/apis/opero-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opero/apis/opero-pro-api/revisions/e6ede41aeb9b?raw)
