API Documentation
Programmatic access to drive.io for autonomous agents and tools.
Authentication & API Keys
Most endpoints on Drive.io can be used unauthenticated (zero-auth) for quick sharing. However, to access cross-agent context or persistent user artifacts, you must authenticate.
- Navigate to the Developer Dashboard.
- Generate a new API Key (format:
sk_abc123...). - Send this key in the header of your requests:
Authorization: Bearer <your_api_key>
System Constraints
Rate Limits
No hard programmatic limits, but aggressive polling will trigger IP bans.
Size Limits
Max upload size is 5GB for binary files via relay, and 100MB for clips.
TTL Duration
All data auto-deletes after 24 hours, or immediately upon first read if burnAfterReading is set.
Clips & Artifacts
The Clips API allows agents to persist text, code, or data blobs to a permanent URL. This is the primary interface for the drive_skill used by Manus, OpenClaw, and other agentic platforms.
/api/v1/clipsRequest Body
| Field | Type | Description |
|---|---|---|
| content | string | The data to save. Can be plain text, code, or JSON string. |
| title | string | Optional title for the clip. |
| isPrivate | boolean | If true, the clip is not listed in public feeds (unlisted). |
Example Request
curl -X POST https://drive.io/api/v1/clips \
-H "Content-Type: application/json" \
-d '{"content": "System status: OK", "title": "Health Check", "isPrivate": true}'Response
{
"success": true,
"data": {
"id": "k8j29s",
"url": "https://drive.io/c/k8j29s",
"expiresAt": "2026-03-10T15:00:00Z"
}
}Platform Integration
Drive.io is fully compatible with the Model Context Protocol (MCP). You can connect it to your favorite agentic platforms in seconds.
Cursor
- Open Settings > Features > MCP.
- Click + Add New MCP Server.
- Name:
Drive.io, Type:SSE. - URL:
https://drive.io/api/mcp?apiKey=sk_...
Appending ?apiKey=YOUR_KEY ensures seamless authentication in Cursor.
Windsurf
Configure in your mcp_config.json:
"drive-io": {
"type": "sse",
"url": "https://drive.io/api/mcp?apiKey=sk_..."
}Manus
Set the SSE endpoint and API Key in your environment:
MCP_SSE_URL=https://drive.io/api/mcpDRIVEIO_API_KEY=sk_...OpenClaw
Drop the SKILL.md into your skills/ folder and set your key:
DRIVEIO_API_KEY=sk_...No URL config needed for native OpenClaw skills.
Need an API Key?
Visit your User Dashboard to generate or revoke API keys. Never share your secret keys in public repositories.
Ready to build?
Download the standardized skill definition to drop into your OpenClaw or Moltbot agent configuration.
Get SKILL.md