> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Document ## API Docs - Document [Create Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/create-document.md) - Document [Batch Create Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/batch-create-document.md) - Document [Get Document By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/get-document-by-id.md) - Document [Delete Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-document.md) - Document [Update Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/update-document.md) - Document [Delete Document By Id](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-document-by-id.md) - Document [Batch Delete Document](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/batch-delete-document.md) - Document [Get Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/get-documents.md) - Document [Delete Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-documents.md) - Document [Delete All Documents](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-all-documents.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/openapi.json) - [OpenAPI YAML](https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/openapi.yaml)