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:Core Workflow
1
Ingest
Upload a file or URL to get a
file_id.Endpoints:POST /source/v1/api/document— Documents, images, audio, videoPOST /source/v1/api/youtube— YouTube videosPOST /source/v1/api/website— Websites and social posts
2
Chat
Use the
file_id to ask questions about the content.Endpoints:POST /chat/v1/api/document/{type}— PDF, 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:
Rate Limits & Credits
Credit usage per model:
- 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
