AI Summary
Generates a summary across selected search results for a given query.
- Standard
- Streaming
Workflow
Step 1: Execute a search Call the Search endpoint and extract from the response:QueryId→ use as thequeryIdparameterTypedDocuments[].Fields.Id.Value→ use as theidfor each source- Source
fields→ preferTitleandContentwhen those fields are available
Feature availability
answerLength and customPrompt are in limited availability. These options are currently in an early test phase and are only enabled for select customers running on specific servers. They are not active by default, so supplying these values will not change the generated output unless the features have been enabled for your account.To discuss enabling them for your setup, contact your account manager and share your customer ID and engine ID.includeCitations applies to the streaming endpoint only. This parameter has no effect on the standard summary response. Use the streaming endpoint (/search/summarize/stream) if you need source URLs included in the output.Authorizations
SiteKey authentication. Pass the full value including the SiteKey prefix: SiteKey <base64(customerId:engineId:searchKey)>. Example: SiteKey dGVzdDoxMjM0NTY3Ojk4NzY1.
Path Parameters
Your Cludo account ID.
Search engine ID.
Body
Original user query string from search (for context and analytics).
Must equal QueryId from the search response that produced sources.
One entry per result row to fold into the summary (typically the checked results on the SERP). Include at least three sources and no more than five.
5[
{
"id": "https://help.cludo.com/...",
"fields": ["Title", "Content"]
}
]ISO-639-1 or simple locale code for answer language (e.g. en, da).
comprehensive for longer explanations; concise for shorter summaries. Limited availability: this feature is currently in an early test phase and is only enabled for select customers on specific servers. It is not active by default, so the value has no effect unless it has been enabled for your account. Contact your account manager (with your customer ID and engine ID) to discuss enabling it.
comprehensive, concise Optional extra instructions (e.g. “focus on steps”). Limited availability: this feature is currently in an early test phase and is only enabled for select customers on specific servers. It is not active by default, so the value has no effect unless it has been enabled for your account. Contact your account manager (with your customer ID and engine ID) to discuss enabling it.
When true, include source URLs in the value object (summarySourceUrls). Streaming only: this parameter applies only to the streaming endpoint (/search/summarize/stream) and has no effect on the standard summary response.
Response
AI Summary generated successfully.

