# YDB Open Source

> Public documentation interface for agents. Contract version: 1.

Project: ydb-platform--ydb. Language: en. Version: v25.3.
Available languages: en, ru. Set lang explicitly when changing language.

## Find information

- [Search example](https://ydb.tech/docs/docs-api/agent/search?query=getting+started&project=ydb-platform--ydb&lang=en&version=v25.3): replace the query; returns titles, snippets, canonical URLs, and ready-to-use read URLs.
- Search covers this project only. Published search indexes can lag behind pages. Empty results do not establish that a page does not exist.
- Continue search with nextPage as page only when nextPage != null, keeping limit unchanged. truncated can also report omitted hits and does not imply that another page is available.
- [Page list](https://ydb.tech/docs/docs-api/sitemap?project=ydb-platform--ydb&lang=en&version=v25.3): published page URLs for browsing.
- [Documentation index](https://ydb.tech/docs/en/llms.txt?revision=69ca0bff1902f653b2d2af67e4f47d0a601744dc&version=v25.3): project-specific overview and links.

## Read and cite sources

- [Read example](https://ydb.tech/docs/docs-api/agent/read?path=index&project=ydb-platform--ydb&lang=en&version=v25.3): replace path with a language-relative document path, without the language prefix or URL query. Prefer readUrl from search results.
- Read returns cleaned Markdown or YAML. The default audience is human; use audience=agent when carrying out documented agent instructions.
- Large pages are returned in parts. Continue with nextOffset as offset only when nextOffset != null. metadata_only=true returns metadata and size without content or continuation: truncated=false and nextOffset=null.
- Cite the canonical url from the response. Source files may be unavailable for older publications; a 422 response includes the HTML URL when available.
- Protected projects and pages retain their existing authorization requirements. A published link does not grant access.

## API contract

- [OpenAPI specification](https://ydb.tech/docs/docs-api/agent/openapi.json?project=ydb-platform--ydb&lang=en&version=v25.3): exact parameters, response schemas, errors, and response limits.
- Search requests contain at most 10 results. Read responses contain at most 50,000 content characters.
- Busy endpoints return 429 with Retry-After in seconds. Wait before retrying instead of issuing parallel retries.
- When reading a search result, pass its requestId as searchRequestId to correlate the source read with that search.
