API Reference
The FLTR API is organized around REST principles. It has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication.Base URL
Authentication
FLTR supports three authentication methods:| Method | Header Format | Rate Limit |
|---|---|---|
| API Key | Authorization: Bearer fltr_sk_... | 1,000/hour |
| OAuth Token | Authorization: Bearer fltr_at_... | 15,000/hour |
| Session | Cookie-based | 15,000/hour |
Authentication Guide
Learn how to authenticate with FLTR →
Request Format
JSON Bodies
All POST, PUT, and PATCH requests should includeContent-Type: application/json header with a JSON body:
File Uploads
For file uploads, usemultipart/form-data:
Response Format
Success Responses
Successful requests return JSON with appropriate HTTP status codes:200 OK- Request succeeded201 Created- Resource created successfully204 No Content- Request succeeded with no response body
Error Responses
Errors return JSON with an error message and code:400 Bad Request- Invalid request parameters401 Unauthorized- Invalid or missing authentication403 Forbidden- Insufficient permissions404 Not Found- Resource doesn’t exist429 Too Many Requests- Rate limit exceeded500 Internal Server Error- Server error
Rate Limiting
API requests are limited based on authentication method:Rate Limit Headers
All responses include rate limit information:X-RateLimit-Limit- Total requests allowed per hourX-RateLimit-Remaining- Requests remaining in current windowX-RateLimit-Reset- Unix timestamp when limit resets
Rate Limit Exceeded
When you exceed the limit, you’ll receive a 429 response:Rate Limits Guide
Learn more about rate limiting →
Pagination
List endpoints support pagination usinglimit and offset parameters:
limit- Number of items per page (default: 20, max: 100)offset- Number of items to skip (default: 0)
Idempotency
POST requests that create resources support idempotency keys to safely retry requests:Resource Types
Datasets
Containers for related documents.Datasets API
Explore dataset endpoints →
Documents
Files and text content within datasets.Documents API
Explore document endpoints →
MCP Endpoints
Model Context Protocol for semantic search.MCP API
Explore MCP endpoints →
Webhooks
Event-driven notifications.Webhooks API
Explore webhook endpoints →