Skip to main content

Overview

This guide walks you through the core API workflow:
  1. Authenticate with your API key
  2. Ingest a file or URL to get a file_id
  3. Chat with the content using the file_id

Step 1: Get Your API Key

1

Sign in to Skimming AI

Go to skimming.ai and log in to your account.
Skimming AI Login Page
2

Navigate to API Settings

Open your dashboard and find the API section in the left sidebar.
Dashboard with API section highlighted
3

Generate Key

Click Create API Key. Copy and store it securely — you won’t see it again.
API Keys Management page with Create API Key button
Keep your API key private. Never expose it in client-side code or public repositories.

Step 2: Ingest a Document

Upload a file to get a file_id that you’ll use for all chat operations.

Required Headers

All API requests require these headers:

Example: Ingest a PDF

Response

Save the file_id from the response — you’ll need it for all chat requests.

Step 3: Chat with the Document

Use the file_id to ask questions about your content.

Example: Ask a Question

Response


Enable Streaming

For real-time responses, set streaming: true. The response will be delivered as Server-Sent Events (SSE).

Choose Your Model

Specify which AI model to use with the model and model_type parameters:

Available Models


Supported Content Types

Documents

  • PDF, 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 → /source/v1/api/youtube
  • Websites: Any webpage URL → /source/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

Need Help?

Contact support at support@skimming.ai