Get Documents

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

domainstringRequired

Headers

x-fern-basepathstring or nullOptional

The basepath of the docs site that the document belongs to, e.g. /plants for a site served at docs.example.com/plants. Omit this for sites served at the root of the domain. Documents are only retrieved by Ask Fern on the site matching the domain and basepath they were created with.

Query parameters

pageinteger or nullOptional
The page number for pagination
limitinteger or nullOptional
The number of documents per page

Response

Successful Response
documentslist of objects
List of documents for the domain
paginationobject
Pagination information for the document list

Errors

422
Unprocessable Entity Error