Overview
The Skimming AI API lets you build chat-with-your-content experiences programmatically. Upload files, ingest URLs, and chat with any content type.Base URL
Authentication
All requests require a Bearer token in theAuthorization header.
Required Headers
Every API request must include these headers:| Header | Value | Required |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | ✅ Yes |
Content-Type | application/json or multipart/form-data | ✅ Yes |
Core Workflow
Ingest
Upload a file or URL to get a
file_id.Endpoints:POST /ingest/v1/api/document— Documents, images, audio, videoPOST /ingest/v1/api/youtube— YouTube videosPOST /ingest/v1/api/website— Websites and social posts
Chat
Use the
file_id to ask questions about the content.Endpoints:POST /chat/v1/api/document/{type}— PDF, DOCX, XLSX, PPTX, TXT, EPUBPOST /chat/v1/api/image/{type}— JPG, PNG, GIF, WebP, etc.POST /chat/v1/api/video/{type}— YouTube, MP4, MOV, etc.POST /chat/v1/api/audio/{type}— MP3, WAV, OGG, etc.POST /chat/v1/api/website/{type}— Website, Instagram, X, LinkedIn, Facebook
Request Format
Ingest Request (File Upload)
Chat Request (JSON)
Response Format
Success Response
Error Response
Streaming
Set"streaming": true to receive responses as Server-Sent Events (SSE).
text/event-stream format.
Models
Specify the AI model withmodel and model_type:
| Provider | model_type | Available Models |
|---|---|---|
| OpenAI | openai | gpt-4o-mini, gpt-4o, gpt-4, gpt-3.5-turbo |
| Anthropic | anthropic | claude-3-sonnet, claude-3.5-sonnet |
gemini | gemini-1.5-flash, gemini-1.5-pro |
Rate Limits & Credits
| Feature | Free Plan | Paid Plans |
|---|---|---|
| Credits | ~1,000/month | Based on plan |
| File Size | 5 MB | Up to 200 MB |
| Video/Audio | 480 minutes | Based on plan |
- GPT-4o Mini / Gemini Flash: 1 credit
- GPT-4o: 5 credits
- Gemini Pro: 16 credits
- Claude 3.5/3.7: 25 credits
- GPT-4: 100 credits
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad request — invalid parameters |
401 | Unauthorized — invalid API key |
402 | Payment required — credits exceeded |
500 | Server error |
