Skip to main content

Drive

Drive is Copera's file storage, organized as a familiar tree of files and folders. The Drive API lets you browse that tree, search for items, read file metadata, download files via signed URLs, create folders, and upload files of any size with a resumable multipart flow.

Quick Start

# Browse the drive tree (root level)
curl -X GET https://api.copera.ai/public/v1/drive/tree \
-H "Authorization: Bearer YOUR_API_KEY"

# Search drive items
curl -X GET "https://api.copera.ai/public/v1/drive/search?q=quarterly%20report" \
-H "Authorization: Bearer YOUR_API_KEY"

# Get a time-limited signed download URL for a file
curl -X GET https://api.copera.ai/public/v1/drive/FILE_ID/download \
-H "Authorization: Bearer YOUR_API_KEY"

# Create a folder
curl -X POST https://api.copera.ai/public/v1/drive/folder \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "New Folder" }'

Available in

Public APICLIMCPCopera AI
✅ Full✅ Full✅ Most (no multipart upload)

The CLI covers everything and handles multipart uploads for you (concurrent chunks, configurable size, progress bars). The hosted MCP server exposes the read and folder operations but not the multipart upload flow. Drive is not exposed to the in-app Copera AI assistant.

Next

  • How Drive Works — the file/folder tree, the access model and participant roles, browsing and searching, signed-URL downloads, creating folders, and the three-step multipart upload flow.
  • Drive in the API Reference — tree, search, get/download, create folder, and the start / presigned-urls / finalize multipart endpoints with full schemas.