# PDF.ai

## PDF.ai API

- [Welcome to PDF.ai API](https://api.pdf.ai/welcome-to-pdf.ai-api.md)
- [Quick start](https://api.pdf.ai/quick-start.md)
- [Parse](https://api.pdf.ai/v2/parse.md): Parses a PDF into Markdown or JSON with support for OCR, table formatting, and image extraction. Ideal for content extraction, knowledge base creation, and retrieval-augmented generation (RAG) workflo
- [Extract](https://api.pdf.ai/v2/extract.md)
- [Split](https://api.pdf.ai/v2/split.md)
- [Ask](https://api.pdf.ai/v2/ask.md)
- [Delete](https://api.pdf.ai/v2/delete.md)
- [Credit usage](https://api.pdf.ai/v2/credit-usage.md)
- [Upload PDF](https://api.pdf.ai/v1/upload-pdf.md)
- [OCR an uploaded PDF](https://api.pdf.ai/v1/upload-pdf/ocr-an-uploaded-pdf.md)
- [Update tags for an uploaded PDF](https://api.pdf.ai/v1/upload-pdf/update-tags-for-an-uploaded-pdf.md)
- [Get single document](https://api.pdf.ai/v1/get-single-document.md)
- [Get all documents](https://api.pdf.ai/v1/get-all-documents.md)
- [Chat with PDF](https://api.pdf.ai/v1/chat-with-pdf.md)
- [Chat with all PDFs](https://api.pdf.ai/v1/chat-with-all-pdfs.md)
- [Chat history](https://api.pdf.ai/v1/chat-history.md)
- [Summarize PDF](https://api.pdf.ai/v1/summarize-pdf.md)
- [Delete PDF](https://api.pdf.ai/v1/delete-pdf.md)
- [Parse](https://api.pdf.ai/v1/parse.md)
- [AI Tools](https://api.pdf.ai/v1/ai-tools.md): API endpoints for the PDF tools
- [Invoice JSON](https://api.pdf.ai/v1/ai-tools/invoice-json.md)
- [Resume scanner](https://api.pdf.ai/v1/ai-tools/resume-scanner.md)
- [API limits](https://api.pdf.ai/v1/api-limits.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://api.pdf.ai/welcome-to-pdf.ai-api.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
