Skip to main content

Give your assistant the API docs

Share the plain-text documentation index with your coding assistant. It links to the quickstart, endpoints, and examples.

Render a summary as a PDF

Keep the HTML template in your application. Pass text from your model through page.templateData. The double braces escape HTML in the summary before rendering. Get an API key in Settings → General and set DOCZILLA_API_KEY in your server environment.
render-summary.js
Send the returned bytes with Content-Type: application/pdf or save them to a file. See the PDF endpoint reference for print and layout options.

Capture a page for visual review

Call Create screenshot with a URL in page.url or Base64-encoded HTML in page.html. For a web page, you can set the viewport or capture a specific element before passing the image to your review tool.