Spaces action reference
Discover the exact action and granted target, validate input and inspect the plan before execution. Upload reservations, completed PUTs, queued jobs, usable captures and public links are distinct states. Exports contain metadata, invitations do not grant workspace access, and space deletion retains object bytes. Organization privacy spans all local workspaces and four databases.
- Export Spaces organization data: Read all retained Spaces rows across the organization and metadata for currently tracked asset and export objects.
- Erase Spaces organization data: Delete all currently tracked Spaces organization rows and objects, verify residual tracked counts, and report retained backups.
- Get Spaces widget: Read workspace-scoped inventory, ready-space and active-processing-job counts in the canonical widget envelope.
- Get Spaces workspace summary: Resolve the granted active workspace and read identity projections with current space and processing counts.
- Archive Spaces workspace: Archive a granted empty canonical workspace through Auth, then remove its Spaces identity mirror.
- List spaces: Read the latest one hundred space records in the selected workspace.
- Create space: Create a private draft capture in the selected workspace with optional title and description.
- Get space: Read one space with its stored asset, annotation, public-link and processing-job records.
- Update space: Change nonblank title or description while retaining the current visibility and asset state.
- Delete space: Irreversibly remove one space and its database metadata, leaving stored asset and export object bytes.
- Create space upload session: Reserve asset metadata and obtain the authenticated PUT URL for a supported capture file.
- Process space asset: Queue a processing job for an uploaded asset in the same space and inspect its later state.
- Set space visibility: Make a runtime-backed space available by unlisted link, or set it private and disable existing links.
- Create space metadata export: Persist a JSON metadata snapshot for one space and return its downloadable artifact id.
- Download space metadata export: Download and parse a previously persisted JSON metadata snapshot in the selected workspace.
- Invite space member: Record a pending addressed space invitation and its notification without changing canonical workspace grants.
Evidence
Real isolated local D1/R2 and source handlers with synthetic Auth/workspace discovery, queue transport, notification delivery and metering. Arbitrary fixture SOG bytes demonstrate handler state only, not valid Gaussian data, renderer quality, deployed processing or live effects. Annotation rows are seeded directly into isolated fixture storage because no annotation mutation is published.