{ "status": "ready", "items": [ { "question": "What does the product launch introduce?", "answer": "The launch introduces a faster setup flow while keeping existing integrations compatible." }, { "question": "Who can use the new experience?", "answer": "The new experience is available to all customers." } ], "source_url": "https://example.com/articles/product-launch", "title": "Product launch", "cache_status": "miss", "version": "published", "resolved_version": "published", "resolved_corpus_version": 12, "generated_at": "2026-06-12T19:30:00+00:00"}
Page content API
Generate FAQs
Generate questions and answers from an indexed page.
{ "status": "ready", "items": [ { "question": "What does the product launch introduce?", "answer": "The launch introduces a faster setup flow while keeping existing integrations compatible." }, { "question": "Who can use the new experience?", "answer": "The new experience is available to all customers." } ], "source_url": "https://example.com/articles/product-launch", "title": "Product launch", "cache_status": "miss", "version": "published", "resolved_version": "published", "resolved_corpus_version": 12, "generated_at": "2026-06-12T19:30:00+00:00"}
Generate page-specific questions and answers from content already indexed for a
page. Use the page’s canonical URL to identify the content.
Send URL context only. Do not send the full page body from the browser. The
API returns not_found when the page is not available in the selected index.
Format the answers
Goal
Field
Return between one and six questions
Set max_items. The default is 4.
Return prose answers
Set answer_format to paragraph. Use answer_paragraph_words to target 50, 100, or 150 words.
Return list answers
Set answer_format to bullets. Use answer_max_bullets to return between one and six list items.
Adjust the writing style
Set tone to neutral, warm, professional, or concise.
Test unpublished runtime changes
Set version to unpublished. Production requests default to published.
Bypass the cache and summary analytics
Set is_private_session to true or tracking_consent to false.
A bullet-formatted answer is one string containing newline-separated list
items. It is not an array.
Handle the response status
The endpoint returns HTTP 200 for each application-level result.
Status
Meaning
ready
items contains the generated question-and-answer pairs.
not_found
The page is not in the selected index. items is empty.
error
The API could not produce usable FAQs.
Body
application/json
company
string
required
Public company or index identifier.
canonical_url
string
required
Canonical URL of the page used to generate FAQs.
page_url
string
Current browser URL. Optional; fragments and tracking params are normalized server-side.
title
string
Optional page title for display and prompt context.
locale
string
Optional locale or language hint.
requestId
string
Caller-generated request identifier.
sessionId
string
Caller-generated session identifier.
is_private_session
boolean
default:false
When true, bypasses the cache and summary analytics logging.
tracking_consent
boolean | null
Tracking consent for this request. Setting this to false also enables private-session behavior.
model
string
default:gpt
Model alias configured for the runtime package.
version
enum<string>
default:published
Runtime package pointer. Omit this field or use published for production traffic. Use unpublished only when testing an unpublished runtime package.
Available options:
published,
unpublished
max_items
integer
default:4
Maximum number of question-and-answer pairs to return.
Required range: 1 <= x <= 6
answer_format
enum<string>
default:paragraph
Format for each answer.
Available options:
paragraph,
bullets
answer_max_bullets
integer
default:3
Maximum list items in each answer when answer_format is bullets.
Required range: 1 <= x <= 6
answer_paragraph_words
enum<integer>
default:100
Target word count for each answer when answer_format is paragraph.
Available options:
50,
100,
150
tone
enum<string>
default:neutral
Writing style for generated answers.
Available options:
neutral,
warm,
professional,
concise
Response
FAQ result for the supplied page URL
status
enum<string>
required
FAQ generation status.
Available options:
ready,
not_found,
error
items
object[]
required
Generated question-and-answer pairs. Empty when status is not_found or error.
Show child attributes
cache_status
enum<string>
required
Whether the response came from cache.
Available options:
hit,
miss,
bypass
source_url
string | null
Normalized source URL used for lookup.
title
string | null
Page title returned by the request or indexed content.
version
enum<string>
default:published
Runtime package pointer. Omit this field or use published for production traffic. Use unpublished only when testing an unpublished runtime package.
Available options:
published,
unpublished
resolved_version
string | null
Resolved runtime pointer after fallback handling.
resolved_corpus_version
integer | null
Resolved indexed corpus version used internally for the response.
generated_at
string<date-time> | null
Server timestamp for the generated response.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Webless Docs","colors":{"primary":"#5B21F5","light":"#7C4DFF","dark":"#4318C7"},"logo":{"light":"https://mintcdn.com/webless/sWCFziMpC7NkWN1W/logo/light.svg?fit=max\u0026auto=format\u0026n=sWCFziMpC7NkWN1W\u0026q=85\u0026s=01b77a5e5f0777ee083bcf118f1d14b1","dark":"https://mintcdn.com/webless/sWCFziMpC7NkWN1W/logo/dark.svg?fit=max\u0026auto=format\u0026n=sWCFziMpC7NkWN1W\u0026q=85\u0026s=1c9d3464f5a9b4f37fc905df59c64d3b"},"favicon":"https://mintcdn.com/webless/8atNZqXy17TdG2Tv/images/webless-logo.png?fit=max\u0026auto=format\u0026n=8atNZqXy17TdG2Tv\u0026q=85\u0026s=4112136d6a32e9861d6c4ad578f15445","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python"],"prefill":true}},"navbar":{"links":[{"href":"https://www.webless.ai","label":"Website"}],"primary":{"type":"button","label":"Contact us","href":"https://www.webless.ai/contact-us"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","href":"/quickstart"},{"anchor":"API reference","icon":"square-terminal","href":"/api-reference/latest/introduction"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"webless","hasAudioNarration":false,"actualSubdomain":"webless","customDomains":["docs.webless.ai"],"gitSource":{"type":"github","owner":"tech-webless","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":"","_id":"6b10e2c99ffae5051c412121"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b109171cbf36562a96ff456","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API reference","count":15},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Search experience","count":7},{"language":"default","tag":"Search API","count":5},{"language":"default","tag":"Integrations","count":4},{"language":"default","tag":"Agent Runtime API","count":3},{"language":"default","tag":"Session API","count":3},{"language":"default","tag":"Page content API","count":2},{"language":"default","tag":"Start here","count":2},{"language":"default","tag":"Data API","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/latest/search/faqs","slug":"/api-reference/latest/search/faqs","pageMetadata":{"title":"Generate FAQs","sidebarTitle":"FAQs","description":"Generate questions and answers from an indexed page.","openapi":"api-reference/openapi-latest.json POST /api/v1/faqs","href":"/api-reference/latest/search/faqs"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate questions and answers from an indexed page.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Note,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Generate page-specific questions and answers from content already indexed for a\npage. Use the page’s canonical URL to identify the content.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Send URL context only. Do not send the full page body from the browser. The\nAPI returns `,_jsx(_components.code,{children:`not_found`}),` when the page is not available in the selected index.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`format-the-answers`,children:`Format the answers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Goal`}),_jsx(_components.th,{children:`Field`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Return between one and six questions`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`max_items`}),`. The default is `,_jsx(_components.code,{children:`4`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Return prose answers`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`answer_format`}),` to `,_jsx(_components.code,{children:`paragraph`}),`. Use `,_jsx(_components.code,{children:`answer_paragraph_words`}),` to target `,_jsx(_components.code,{children:`50`}),`, `,_jsx(_components.code,{children:`100`}),`, or `,_jsx(_components.code,{children:`150`}),` words.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Return list answers`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`answer_format`}),` to `,_jsx(_components.code,{children:`bullets`}),`. Use `,_jsx(_components.code,{children:`answer_max_bullets`}),` to return between one and six list items.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Adjust the writing style`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`tone`}),` to `,_jsx(_components.code,{children:`neutral`}),`, `,_jsx(_components.code,{children:`warm`}),`, `,_jsx(_components.code,{children:`professional`}),`, or `,_jsx(_components.code,{children:`concise`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Test unpublished runtime changes`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`version`}),` to `,_jsx(_components.code,{children:`unpublished`}),`. Production requests default to `,_jsx(_components.code,{children:`published`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bypass the cache and summary analytics`}),_jsxs(_components.td,{children:[`Set `,_jsx(_components.code,{children:`is_private_session`}),` to `,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`tracking_consent`}),` to `,_jsx(_components.code,{children:`false`}),`.`]})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`A bullet-formatted answer is one string containing newline-separated list\nitems. It is not an array.`})}),`\n`,_jsx(Heading,{level:`2`,id:`handle-the-response-status`,children:`Handle the response status`}),`\n`,_jsxs(_components.p,{children:[`The endpoint returns HTTP `,_jsx(_components.code,{children:`200`}),` for each application-level result.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ready`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`items`}),` contains the generated question-and-answer pairs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsxs(_components.td,{children:[`The page is not in the selected index. `,_jsx(_components.code,{children:`items`}),` is empty.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`The API could not produce usable FAQs.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate FAQs","sidebarTitle":"FAQs","description":"Generate questions and answers from an indexed page.","openapi":"api-reference/openapi-latest.json POST /api/v1/faqs","href":"/api-reference/latest/search/faqs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Format the answers","slug":"format-the-answers","depth":2,"children":[]},{"title":"Handle the response status","slug":"handle-the-response-status","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/webless/1cf5be2d426a20ef/playground-company-prefill.js","/_mintlify/custom/webless/71139c6a4667f58e/agent-playground-reply.js"],"openApiReferenceData":{"operation":{"operationId":"createFaqsV1","tags":["Page content API"],"summary":"Generate FAQs","description":"Generate questions and answers from an indexed page.","requestBody":"051a015b-6427-4716-be42-64d15cc97428","responses":{"200":"40cd5023-51fe-4e7a-b9c5-c287893280b5","422":"b58449f2-2027-4acc-a65d-2cba86928e84"},"method":"post","type":"path","servers":["88d7cdf2-cefb-49fc-aae6-93d1593356f1"],"security":[],"path":"/api/v1/faqs","baseUrlOptions":["https://api.webless.ai"],"title":"Generate FAQs","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.company":"YOUR_COMPANY","body.canonical_url":"https://example.com/articles/product-launch","body.page_url":"https://example.com/articles/product-launch#webless","body.title":"Product launch","body.requestId":"1f7c5f74-7b9e-4a0a-9b7d-4e3e2a5e3b60","body.sessionId":"a1c2d3e4-1111-2222-3333-444455556666","body.version":"published","body.max_items":2,"body.answer_format":"paragraph"}],"disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","canonical_url"],"properties":{"company":{"type":"string","description":"Public company or index identifier.","isRequired":true,"uniqueKey":"company","typeLabel":"string"},"canonical_url":{"type":"string","description":"Canonical URL of the page used to generate FAQs.","isRequired":true,"uniqueKey":"canonical_url","typeLabel":"string"},"page_url":{"type":"string","description":"Current browser URL. Optional; fragments and tracking params are normalized server-side.","uniqueKey":"page_url","typeLabel":"string"},"title":{"type":"string","description":"Optional page title for display and prompt context.","uniqueKey":"title","typeLabel":"string"},"locale":{"type":"string","description":"Optional locale or language hint.","uniqueKey":"locale","typeLabel":"string"},"requestId":{"type":"string","description":"Caller-generated request identifier.","uniqueKey":"requestId","typeLabel":"string"},"sessionId":{"type":"string","description":"Caller-generated session identifier.","uniqueKey":"sessionId","typeLabel":"string"},"is_private_session":{"type":"boolean","default":false,"description":"When true, bypasses the cache and summary analytics logging.","uniqueKey":"is_private_session","typeLabel":"boolean"},"tracking_consent":{"oneOf":[{"type":"boolean","description":"Tracking consent for this request. Setting this to false also enables private-session behavior.","uniqueKey":"tracking_consent.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Tracking consent for this request. Setting this to false also enables private-session behavior.","uniqueKey":"tracking_consent.oneOf.1","typeLabel":"null"}],"uniqueKey":"tracking_consent","typeLabel":"boolean | null"},"model":{"type":"string","default":"gpt","description":"Model alias configured for the runtime package.","uniqueKey":"model","typeLabel":"string"},"version":{"type":"string","enum":["published","unpublished"],"default":"published","description":"Runtime package pointer. Omit this field or use `published` for production traffic. Use `unpublished` only when testing an unpublished runtime package.","uniqueKey":"version","typeLabel":"enum\u003cstring>"},"max_items":{"type":"integer","minimum":1,"maximum":6,"default":4,"description":"Maximum number of question-and-answer pairs to return.","uniqueKey":"max_items","typeLabel":"integer"},"answer_format":{"type":"string","enum":["paragraph","bullets"],"default":"paragraph","description":"Format for each answer.","uniqueKey":"answer_format","typeLabel":"enum\u003cstring>"},"answer_max_bullets":{"type":"integer","minimum":1,"maximum":6,"default":3,"description":"Maximum list items in each answer when answer_format is bullets.","uniqueKey":"answer_max_bullets","typeLabel":"integer"},"answer_paragraph_words":{"type":"integer","enum":[50,100,150],"default":100,"description":"Target word count for each answer when answer_format is paragraph.","uniqueKey":"answer_paragraph_words","typeLabel":"enum\u003cinteger>"},"tone":{"type":"string","enum":["neutral","warm","professional","concise"],"default":"neutral","description":"Writing style for generated answers.","uniqueKey":"tone","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"company":"YOUR_COMPANY","canonical_url":"https://example.com/articles/product-launch","page_url":"https://example.com/articles/product-launch#webless","title":"Product launch","version":"published","max_items":2,"answer_format":"paragraph","requestId":"1f7c5f74-7b9e-4a0a-9b7d-4e3e2a5e3b60","sessionId":"a1c2d3e4-1111-2222-3333-444455556666"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"40cd5023-51fe-4e7a-b9c5-c287893280b5":{"description":"FAQ result for the supplied page URL","headers":{"X-Webless-Requested-Version":{"description":"Runtime version requested by the client.","schema":{"type":"string"}},"X-Webless-Resolved-Version":{"description":"Runtime version used for the response.","schema":{"type":"string"}},"X-Webless-Version-Fallback-Reason":{"description":"Reason for a runtime version fallback, when one occurs.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["status","items","cache_status"],"properties":{"status":{"type":"string","enum":["ready","not_found","error"],"description":"FAQ generation status.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"items":{"type":"array","items":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string","description":"Question generated from the indexed page content.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].question","typeLabel":"string"},"answer":{"type":"string","description":"Answer generated from the indexed page content. Bullet-formatted answers contain newline-separated list items in this string.","isRequired":true,"uniqueKey":"\\items.items.[INDEX].answer","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"description":"Generated question-and-answer pairs. Empty when status is not_found or error.","isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"cache_status":{"type":"string","enum":["hit","miss","bypass"],"description":"Whether the response came from cache.","isRequired":true,"uniqueKey":"cache_status","typeLabel":"enum\u003cstring>"},"source_url":{"oneOf":[{"type":"string","description":"Normalized source URL used for lookup.","uniqueKey":"source_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Normalized source URL used for lookup.","uniqueKey":"source_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_url","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"Page title returned by the request or indexed content.","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Page title returned by the request or indexed content.","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"version":{"type":"string","enum":["published","unpublished"],"default":"published","description":"Runtime package pointer. Omit this field or use `published` for production traffic. Use `unpublished` only when testing an unpublished runtime package.","uniqueKey":"version","typeLabel":"enum\u003cstring>"},"resolved_version":{"oneOf":[{"type":"string","description":"Resolved runtime pointer after fallback handling.","uniqueKey":"resolved_version.oneOf.0","typeLabel":"string"},{"type":"null","description":"Resolved runtime pointer after fallback handling.","uniqueKey":"resolved_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolved_version","typeLabel":"string | null"},"resolved_corpus_version":{"oneOf":[{"type":"integer","description":"Resolved indexed corpus version used internally for the response.","uniqueKey":"resolved_corpus_version.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Resolved indexed corpus version used internally for the response.","uniqueKey":"resolved_corpus_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolved_corpus_version","typeLabel":"integer | null"},"generated_at":{"oneOf":[{"type":"string","format":"date-time","description":"Server timestamp for the generated response.","uniqueKey":"generated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Server timestamp for the generated response.","uniqueKey":"generated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"generated_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"ready":{"title":"ready","value":{"status":"ready","items":[{"question":"What does the product launch introduce?","answer":"The launch introduces a faster setup flow while keeping existing integrations compatible."},{"question":"Who can use the new experience?","answer":"The new experience is available to all customers."}],"source_url":"https://example.com/articles/product-launch","title":"Product launch","cache_status":"miss","version":"published","resolved_version":"published","resolved_corpus_version":12,"generated_at":"2026-06-12T19:30:00+00:00"}},"not_found":{"title":"not_found","value":{"status":"not_found","items":[],"source_url":"https://example.com/articles/product-launch","title":"Product launch","cache_status":"miss","version":"published","resolved_version":"published","resolved_corpus_version":12,"generated_at":"2026-06-12T19:30:00+00:00"}}},"exampleType":"examples"}},"exampleType":"examples"},"b58449f2-2027-4acc-a65d-2cba86928e84":{"description":"Invalid request body","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"uniqueKey":"detail","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"detail":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"88d7cdf2-cefb-49fc-aae6-93d1593356f1":{"url":"https://api.webless.ai","description":"Production API"}}},"originalFileLocation":"api-reference/openapi-latest.json"},"subdomain":"webless","siteName":"Webless Docs","title":"Generate FAQs - Webless Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T12:55:38.999Z","originalFileLocation":"api-reference/latest/search/faqs.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate questions and answers from an indexed page.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Webless Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate FAQs - Webless Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate questions and answers from an indexed page.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Webless Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.webless.ai/api-reference/latest/search/faqs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://webless.mintlify.site/_mintlify/api/og/v2?division=Page+content+API\u0026amp;title=Generate+FAQs\u0026amp;description=Generate+questions+and+answers+from+an+indexed+page.\u0026amp;theme=374ca406235b2600c305039b\u0026amp;signature=4d8b0e04ae92624bbe1e3e8531d02736d98823303568123302d0febfebeb3521\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate FAQs - Webless Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate questions and answers from an indexed page.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://webless.mintlify.site/_mintlify/api/og/v2?division=Page+content+API\u0026amp;title=Generate+FAQs\u0026amp;description=Generate+questions+and+answers+from+an+indexed+page.\u0026amp;theme=374ca406235b2600c305039b\u0026amp;signature=4d8b0e04ae92624bbe1e3e8531d02736d98823303568123302d0febfebeb3521\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/webless/gEE7OOpquZrwyBvh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Webless Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5B21F5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.webless.ai/api-reference/latest/search/faqs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/latest/search/faqs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.webless.ai/#organization\",\"name\":\"Webless Docs\",\"url\":\"https://docs.webless.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/webless/sWCFziMpC7NkWN1W/logo/light.svg?fit=max\u0026auto=format\u0026n=sWCFziMpC7NkWN1W\u0026q=85\u0026s=01b77a5e5f0777ee083bcf118f1d14b1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.webless.ai#website\",\"name\":\"Webless Docs\",\"url\":\"https://docs.webless.ai\",\"publisher\":{\"@id\":\"https://docs.webless.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.webless.ai/api-reference/latest/search/faqs#webpage\",\"url\":\"https://docs.webless.ai/api-reference/latest/search/faqs\",\"name\":\"Generate FAQs\",\"description\":\"Generate questions and answers from an indexed page.\",\"dateModified\":\"2026-11-24T12:55:38.999Z\",\"isPartOf\":{\"@id\":\"https://docs.webless.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.webless.ai/api-reference/latest/search/faqs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.webless.ai/api-reference/latest/search/faqs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Page content API\",\"item\":\"https://docs.webless.ai/api-reference/latest/search/snackable-read\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate FAQs\",\"item\":\"https://docs.webless.ai/api-reference/latest/search/faqs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.webless.ai/api-reference/latest/search/faqs#apireference\",\"headline\":\"Generate FAQs\",\"name\":\"Generate FAQs\",\"description\":\"Generate questions and answers from an indexed page.\",\"url\":\"https://docs.webless.ai/api-reference/latest/search/faqs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.webless.ai/api-reference/latest/search/faqs#webpage\"},\"dateModified\":\"2026-11-24T12:55:38.999Z\",\"publisher\":{\"@id\":\"https://docs.webless.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.webless.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Webless Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Webless Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/latest/search/faqs.md","siteName":"Webless Docs","nav":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","href":"/quickstart"},{"anchor":"API reference","icon":"square-terminal","href":"/api-reference/latest/introduction"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/latest/introduction"}]},{"group":"Search API","pages":[{"title":"Create query","openapi":"api-reference/openapi-latest.json POST /api/v1/queries","href":"/api-reference/latest/search/query"},{"title":"Get completions","openapi":"api-reference/openapi-latest.json POST /api/v1/completions","href":"/api-reference/latest/search/completions"},{"title":"Select a CTA","openapi":"api-reference/openapi-latest.json POST /api/v1/cta-selection","href":"/api-reference/latest/search/cta-selection"},{"title":"Get suggestions","openapi":"api-reference/openapi-latest.json POST /api/v1/suggestions","href":"/api-reference/latest/search/suggestions"},{"title":"Health","openapi":"api-reference/openapi-latest.json GET /api/v1/health","href":"/api-reference/latest/search/health"}]},{"group":"Page content API","pages":[{"title":"Generate a Snackable Read","sidebarTitle":"Snackable Read","description":"Generate concise takeaways from an indexed page.","openapi":"api-reference/openapi-latest.json POST /api/v1/snackable-read","href":"/api-reference/latest/search/snackable-read"},{"title":"Generate FAQs","sidebarTitle":"FAQs","openapi":"api-reference/openapi-latest.json POST /api/v1/faqs","href":"/api-reference/latest/search/faqs"}]},{"group":"Session API","pages":[{"title":"Create share","openapi":"api-reference/openapi-latest.json POST /api/v1/shares","description":"Creates a shareable conversation history snapshot for a session.","href":"/api-reference/latest/sessions/create-share"},{"title":"Load shared history","openapi":"api-reference/openapi-latest.json GET /api/v1/shares/{conversation_history_id}/sessions/{session_id}","href":"/api-reference/latest/sessions/load-share"},{"title":"Create session summary","openapi":"api-reference/openapi-latest.json POST /api/v1/session-summaries","href":"/api-reference/latest/sessions/session-summary"}]},{"group":"Data API","pages":[{"title":"Query data","openapi":"api-reference/openapi-latest.json GET /query-data","href":"/api-reference/latest/data/query-data"}]},{"group":"Agent Runtime API","pages":[{"title":"Send a message","sidebarTitle":"Send a message","openapi":"api-reference/openapi-agent-runtime.json POST /eve/v1/session","href":"/api-reference/latest/agent/create-session"},{"title":"Bootstrap visitor access","sidebarTitle":"Bootstrap","openapi":"api-reference/openapi-agent-runtime.json POST /webless/v1/bootstrap","href":"/api-reference/latest/agent/bootstrap"},{"title":"Stream session events","sidebarTitle":"Stream events","openapi":"api-reference/openapi-agent-runtime.json GET /eve/v1/session/{sessionId}/stream","href":"/api-reference/latest/agent/session-stream"}]}]}]},"basePath":"","title":"Generate FAQs - Webless Docs","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPBgY0Zl.js","snippetPresets-DfrK5Qk-.js","utils-BhOu8MoY.js","style-to-object-BY3JEAdk.js","utils-uJw0j5Le.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bf5DiN6S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DIo_VyID.js","_Uint8Array-BCCZOmlk.js","isObject-FP1Yky1u.js","ApiExamples-btA_N7J3.js","usePlaygroundInputsStore-D9E8vgOP.js","shallow-BXJ3D3rC.js","isEqual-DTxWZblT.js","CodeSnippets-yZyeAOhB.js","CodeSnippet-DNSgsmyp.js","use-playground-group-access-B6tdpwEQ.js","Page-C_4zetsC.js","api-description-markdown-Bnx5o_aC.js","DynamicMarkdown-DGZbG3dj.js","SectionHeading-Su-XbcWJ.js","MethodPill-BEHdnIWE.js","getPastedJson-MUjpQ42l.js","Check2Icon-HQrwfTCD.js","axios-CsQoIw0U.js","Markdown-D9ZX5drj.js","AssistantPageLink-BDewKJsB.js","dist-1NU8F86Q.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}