List package documentation pages
Find documentation pages for a package, including hosted documentation and files from its repository. Results contain page summaries and identifiers for reading the full content.
Use GET /v1/docs/pages/{page_id} to read a returned page. To search documentation by topic, use POST /v1/searches.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional client attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.
Optional client-version attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.
Optional agent attribution: trimmed printable ASCII, at most 160 bytes. Invalid optional values are dropped.
Optional session attribution: trimmed printable ASCII, at most 128 bytes. Invalid optional values are dropped; no session is created.
Path Parameters
Exact lowercase registry identifier; no trimming or case normalization.
npm, pypi, hex, crates, vcpkg, zig, nuget, maven, packagist, rubygems, go, swift Nonempty package name, at most 255 UTF-8 bytes without control characters. Spelling and whitespace are preserved; the response reports the resolved canonical name. Encode slashes within one path segment.
1Query Parameters
Optional package version. Whitespace is trimmed; blank is treated as omitted. GitHits resolves an omitted version. Numeric Go versions gain lowercase v; leading v/V is accepted for resolution. The returned version may differ from the input.
Maximum returned rows, default 100, integer 1–500. Does not bound upstream preparation work.
1 <= x <= 500Opaque trimmed nonblank cursor, passed unchanged. Not snapshot-bound; upstream may reset malformed tokens to zero.
1Response
One page of documentation summaries and source lifecycle
One page of source-owned documentation summaries, with no global readiness assertion.
Repository corpus lifecycle only; current does not assert hosted readiness.
current, stale, provisional, indexing, pending, failed, not_found, unresolvable Source-owned opaque listing preparation/progress reference; null when unavailable. Context only, not a search_ref or an advertised REST progress route.
Required resolved package identity and version.
Current source pagination context, not a stable snapshot.
Complete atomic page summaries. Empty alone does not prove documentation is ready or absent.
A documentation page summary with its read target. Repository pages include exact repository locators.
- Option 1
- Option 2
Hosted documentation freshness only; does not describe repository evidence.
Requested/resolved/served repository provenance; null when unavailable.