您将获得
容许失误的存储
- 直接上传 字节通过短时效上传凭据直接进入存储,绝不经过API
- 签名链接或公开存储桶 一个会过期的链接,或经明确确认后公开提供的存储桶
- 版本与恢复 每次写入都是一个版本;可恢复任意版本
- 用量一目了然 已存储的字节数及其历史
curl -X POST https://api.galon.ai/v1/storage/buckets/{bucket_id}/uploads \
-H "Authorization: Bearer gln_test_••••" \
-H "Content-Type: application/json" \
-d '{"key": "menu/espresso.jpg", "size_bytes": 421888, "checksum": "{sha256}"}'
# then PUT the bytes to the returned URL and commit
curl -X POST https://api.galon.ai/v1/storage/uploads/{upload_id}/commit \
-H "Authorization: Bearer gln_test_••••"# your coding agent, Galon's MCP server connected > Upload menu/espresso.jpg to the akwaba bucket and give me a 24-hour link # the agent calls start_upload, commit_upload
curl https://api.galon.ai/v1/storage/objects/{object_id}/versions \
-H "Authorization: Bearer gln_test_••••"
curl -X POST https://api.galon.ai/v1/storage/objects/{object_id}/restore \
-H "Authorization: Bearer gln_test_••••"
# a link that expires in a day
curl -X POST https://api.galon.ai/v1/storage/objects/{object_id}/links \
-H "Authorization: Bearer gln_test_••••" \
-H "Content-Type: application/json" \
-d '{"expires_in": 86400}'价格
预付费,按用量付费
Pay as you go
$0.033 每 GB 每月
- 无需银行卡即可开始
- 余额为 $0 时付费操作暂停,数据保留 30 天
- 每笔费用在操作前预留
- 我们营收的1%通过Stripe Climate资助碳移除。
价格从您的预付余额中支付。充值通过我们的支付合作伙伴销售,并由其开具您的收据;域名单独销售。
常见问题
直接的回答
- 上传会经过API吗?
- 不会。API返回一个短时效凭据,字节直接进入存储,然后通过一次commit调用使对象可用。
- 我可以把文件公开吗?
- 可以。使用会过期的签名链接,或经明确确认后将存储桶设为公开;也可以用同样的方式关闭。
- 如果我的余额用完会怎样?
- 文件在14天内仍可读取,之后停止提供;在发出通知后,可能从第30天起被删除。