Get a presigned download URL
Returns a short-lived signed GET URL for a storage object in the caller's workspace. Requests for objects outside the caller's workspace return 404 with no existence leak.
Returns a short-lived signed GET URL for a storage object in the caller's workspace. Requests for objects outside the caller's workspace return 404 with no existence leak.
Authorization
BearerApiKey API key from workspace settings
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/v1/storage-objects/497f6eca-6276-4993-bfeb-53cbbbba6f08/url"{
"storageObjectId": "7f5af0cf-fc95-42d7-a16f-f40e471a1b60",
"downloadUrl": "string",
"expiresAt": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Create a presigned upload POST
Reserves a workspace-scoped storage object and returns a short-lived direct-upload descriptor. Upload the file bytes straight to `uploadUrl` using the returned `method`, `headers`, and `fields`; the file never passes through Promptic. Defaults to private access.
Redirect to storage object content GET
Convenience 302 redirect to a short-lived signed object URL for browser consumers. The `/url` sibling returns the same URL as JSON without redirecting.