Documentation Index
Fetch the complete documentation index at: https://docs.tryfltr.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Creates a new dataset. Datasets are containers for related documents that can be searched together.
Bearer token for authenticationExample: Bearer fltr_sk_abc123...
Body
Name of the dataset (1-200 characters)
Optional description (max 1000 characters)
Whether the dataset is publicly accessible
Custom metadata as key-value pairs
Response
Unique dataset identifier (e.g., ds_abc123)
Public accessibility status
Number of documents (always 0 for new datasets)
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Examples
curl -X POST https://api.fltr.com/v1/datasets \
-H "Authorization: Bearer fltr_sk_abc123..." \
-H "Content-Type: application/json" \
-d '{
"name": "Product Documentation",
"description": "All product docs and guides",
"is_public": false,
"metadata": {
"category": "documentation",
"team": "product"
}
}'
Response
{
"id": "ds_abc123def456",
"name": "Product Documentation",
"description": "All product docs and guides",
"is_public": false,
"document_count": 0,
"created_at": "2024-01-10T12:00:00Z",
"updated_at": "2024-01-10T12:00:00Z",
"metadata": {
"category": "documentation",
"team": "product"
}
}
Errors
Bad Request - Invalid parameters{
"error": "Invalid dataset name",
"code": "invalid_name",
"details": {
"field": "name",
"issue": "Name cannot be empty"
}
}
Unauthorized - Invalid or missing API key{
"error": "Invalid API key",
"code": "invalid_api_key"
}
Rate Limit Exceeded{
"error": "Rate limit exceeded",
"code": "rate_limit_exceeded",
"retry_after": 3600
}
Notes
- Dataset names must be unique within your account
- Maximum 1,000 datasets per account
- Use
is_public: true to make datasets accessible without authentication (read-only)
- Metadata is indexed and searchable
- Deleting a dataset also deletes all its documents