---
title: "Api Generate Suggested Questions For Node"
method: POST
path: "/v1/suggested-questions/{application_id}/generate"
tags: ["suggested-questions"]
---

# Api Generate Suggested Questions For Node

`POST /v1/suggested-questions/{application_id}/generate`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/suggested-questions/{application_id}/generate`
- Auth: HTTP bearer

Generate suggested questions for a specific node from the dashboard.

## Path parameters

- `application_id` string, uuid, required

## Request body

- GenerateSuggestedQuestionsRequest: Request to generate suggested questions for a node from the dashboard.
  - `node_id` string, uuid, required: The ID of the node/vertex
  - `locale` string, required: The locale for generating suggested questions

## Response `201`

Successful Response

- SuggestedQuestionsResponseAPI: Response containing suggested questions for a node.
  - `questions` string[], required: List of suggested questions users might ask the chatbot
  - `content_hashes` string[]: Hashes of the content used to generate the suggested questions
  - `vertex_ids` string[]: IDs of the vertices used to generate the suggested questions
  - `id` string, uuid, required
  - `application_id` string, uuid, required: The ID of the application
  - `url` string, uri, required: The URL associated with the node
  - `locale` string, nullable: The locale of the suggested questions
  - `session_id` string, uuid, nullable: The session ID if these questions are personalized for a specific session
  - `timestamp` string, date-time, required: When the suggested questions were generated

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
