Search · Retrieve page content

Retrieve page content

Skip a second roundtrip — ask Search to return cleaned page text alongside each ranked result.

Setting include_content on a Search request returns the cleaned body of each result. This keeps RAG pipelines a single hop and avoids the cost of a second Contents call.

Example

Python
res = you.search.unified(
    query="postgres logical replication tutorial",
    include_content=True,
)
for r in res.results.web or []:
    print(r.title)
    print(r.content[:500])