> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/code-samples/documents/java.md).

# Java

Run these Java snippets to mirror the [document scenario recipes](/quick-start/documents/document-examples.md). See the [Java guide](/code-samples/language-quickstarts/java.md) for setup details.

## Recipes

* [📝 Create a Briefing Document from Text](/code-samples/documents/java/from-text.md)
* [🔗 Create a Briefing Document from a Website](/code-samples/documents/java/from-website.md)
* [💡 Create a Briefing Document from a Topic Prompt](/code-samples/documents/java/from-topic.md)
* [📄 Create a Briefing Document from a PDF Upload](/code-samples/documents/java/from-pdf.md)
* [🌐 Set Document Format and Language](/code-samples/documents/java/set-format-and-language.md)
* [📥 List, Fetch, and Download Documents](/code-samples/documents/java/retrieve-and-download.md)

Prefer cURL? Jump back to the [quick-start examples](/quick-start/documents/document-examples.md).
