Overview
This guide walks you through the core API workflow:- Authenticate with your API key
- Ingest a file or URL to get a
file_id - Chat with the content using the
file_id
Step 1: Get Your API Key
Sign in to Skimming AI
Go to skimming.ai and log in to your account.

Step 2: Ingest a Document
Upload a file to get afile_id that you’ll use for all chat operations.
Required Headers
All API requests require these headers:| Header | Value | Description |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | Your API key |
Content-Type | application/json or multipart/form-data | Request content type |
Example: Ingest a PDF
Response
Step 3: Chat with the Document
Use thefile_id to ask questions about your content.
Example: Ask a Question
Response
Enable Streaming
For real-time responses, setstreaming: true. The response will be delivered as Server-Sent Events (SSE).
Choose Your Model
Specify which AI model to use with themodel and model_type parameters:
Available Models
| Provider | Models | Credits/Question |
|---|---|---|
| OpenAI | gpt-4o-mini, gpt-4o, gpt-4, gpt-3.5-turbo | 1 – 100 |
| Anthropic | claude-3-sonnet, claude-3.5-sonnet | 25 |
gemini-1.5-flash, gemini-1.5-pro | 1 – 16 |
Supported Content Types
Documents
- PDF, Word (
.docx), Excel (.xlsx,.csv), PowerPoint (.pptx), Text (.txt), EPUB
Media
- Images: JPG, PNG, GIF, WebP, BMP, TIFF, SVG, HEIC
- Audio: MP3, WAV, OGG, AAC, FLAC, M4A
- Video: MP4, MOV, AVI, WMV, WebM, FLV, MKV
Web Content
- YouTube: Paste video URL →
/ingest/v1/api/youtube - Websites: Any webpage URL →
/ingest/v1/api/website - Social Media: Instagram, X (Twitter), LinkedIn, Facebook posts
Next Steps
API Reference
Explore all endpoints with request/response examples.
Ingest Endpoints
Learn about all ingestion options.
Common Errors
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid or missing API key | Check your Authorization header |
400 Bad Request | Missing required fields | Ensure file_id and question are provided |
402 Question limit exceeded | Out of credits | Upgrade your plan or wait for reset |
Need Help?
Contact support at support@skimming.ai


