Documentation Index
Fetch the complete documentation index at: https://docs.sacul.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Welcome
sCloud CDN V2 offers a powerful, high-performance API for content delivery, fuzzy search, and secure file management. Built on Bun and ElysiaJS, it provides sub-100ms response times with native S3 and Meilisearch integration.Base URLs
The API is split across two domains to optimize for delivery performance and large file uploads:| Purpose | Base URL | Body Limit | Restriction |
|---|---|---|---|
| Standard Endpoint | https://cdn.sacul.cloud | 100MB | None |
| Storage Endpoint | https://upload-cdn.sacul.cloud | 5GB | POST Only |
The
cdn.sacul.cloud domain is proxied by Cloudflare and has a request body limit of 100MB. For larger files, please use the upload-cdn.sacul.cloud endpoint.Endpoints
- Get/Stream Object
- Upload Object
- Rename Object
- Delete Object
- Search Objects
- List Objects
- Presigned URLs
Authentication
All management operations (Upload/Delete/Search/List) require an API Key. Content delivery (GET) is public.Selection Methods
-
Authorization Header (Recommended)
-
X-API-Key Header
-
Query Parameter
Performance Headers
Every response includes timing headers for transparency:X-Response-Time: Total time spent in the API.X-S3-Time: Time spent communicating with the storage backend.
Rate Limits
We implement rate limiting to ensure stability. Limits vary by your subscription plan.| Plan | POST/Management Limit |
|---|---|
| Free | 100 req/min |
| Starter | 300 req/min |
| Pro | 1,000 req/min |
| Business | Custom |
GET requests for file delivery are unlimited but subject to standard security measures.
