36 REST endpoints. Zero egress. Global edge. MCP-native.
The file storage API that gets out of your way.
$ curl -X PUT https://storage.liteio.dev/files/hello.txt \ -H "Authorization: Bearer sk_..." \ -H "Content-Type: text/plain" \ -d "Hello, world!" → 201 Created { "id": "o_a1b2c3", "path": "hello.txt", "name": "hello.txt", "size": 13 }
const res = await fetch("https://storage.liteio.dev/files/hello.txt", { method: "PUT", headers: { "Authorization": "Bearer sk_...", "Content-Type": "text/plain", }, body: "Hello, world!", }); const file = await res.json(); // → { id: "o_a1b2c3", path: "hello.txt", size: 13 }
import requests res = requests.put( "https://storage.liteio.dev/files/hello.txt", headers={ "Authorization": "Bearer sk_...", "Content-Type": "text/plain", }, data="Hello, world!", ) file = res.json() # → {"id": "o_a1b2c3", "path": "hello.txt", "size": 13}
PUT /files/docs/readme.md
Authorization: Bearer sk_...
Content-Type: text/markdown
<file bytes>
→ 201 Created
{
"id": "o_7f2a9c",
"path": "docs/readme.md",
"name": "readme.md",
"size": 1234
}PUT a file, get a URL. Content-Type auto-detected from extension. Parent folders created on the fly. Up to 100 MB per request, or unlimited via presigned URLs.
GET /folders/docs Authorization: Bearer sk_... → 200 OK { "path": "docs/", "items": [ {"name": "reports", "is_folder": true}, {"name": "readme.md", "size": 1234} ] } POST /drive/rename {"path": "docs/old.md", "new_name": "new.md"} → {"old_path":"docs/old.md","new_path":"docs/new.md"}
Virtual folder tree with nested paths. Star, rename, move, copy, trash, and restore. Full Google Drive-class file management through a simple REST API.
POST /presign/upload
Authorization: Bearer sk_...
Content-Type: application/json
{
"path": "models/v3.bin",
"content_type": "application/octet-stream"
}
→ 200 OK
{
"upload_url": "https://...signed...",
"method": "PUT",
"expires_in": 3600
}Presigned URLs for zero-hop uploads direct to object storage. No file bytes pass through the API server. Ideal for large files and high-throughput pipelines.
Model Context Protocol. 8 tools for file management. Connect any MCP-compatible AI assistant.
OAuth 2.0 PKCE flow. Dynamic client registration. Works with ChatGPT plugins and custom GPTs.
Native MCP support. Direct file access. Seamless integration with Claude Desktop and API.