storage

Declare an upload: {key, size_bytes} → a presigned PUT

Declare an upload: {key, size_bytes} → a presigned PUT

post/preview/storage/{bucket}/objects

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/storage/{bucket}/objects
  • Auth: HTTP bearer

Path parameters

bucketstring required

The bucket this call acts on.

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Request body

keystring required
size_bytesinteger required

Declared upload size; the commit verifies the store agrees.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.