Developer Quickstart
Learn how to get started with Chunkr AI API
Chunkr AI is an API service to convert complex documents into LLM/RAG-ready data. We support a wide range of document types, including PDFs, Office files (Word, Excel, PowerPoint), and images.
Getting Started
To get started with Chunkr AI, follow these simple steps to set up your account and integrate our API into your application.
Step 1: Sign Up and Create an API Key
- Visit Chunkr AI
- Click on “Login” and create your account
- Once logged in, navigate to “API Keys” in the dashboard
Step 2: Install our client SDK
Step 3: Upload your document
Step 4: Export the results
Chunkr AI will return a TaskResponse
object. This object contains the results of the document conversion. You can export the results in various formats or load them into a variable.
Step 5: Explore the output
The output of the task can be used to build your RAG pipeline. Checkout the API Reference for more details.
Step 6: Clean up
You can clean up the open connections by calling the close()
method on the Chunkr
client.
Step 7: API References and support for other languages
To understand all the input configurations and output schema and models, please refer to the API References. You can also use the API Reference Playground to generate cURL requests and code snippets for different languages like JavaScript/TypeScript to help you get started quickly.
Authentication Options
You can authenticate with the Chunkr AI API in two ways:
- Direct API Key - Pass your API key directly when initializing the client
- Environment Variable - Set
CHUNKR_API_KEY
in your.env
file
Self Hosted
If you’re using a self-hosted deployment of Chunkr AI, you can configure the API URL when initializing the client:
When using environment variables for self-hosted deployments, set both CHUNKR_API_KEY
and CHUNKR_URL
in your .env
file.