List saved cards
The viewer’s active workspace (resolved from the better-auth session’s
activeOrganizationId, verified against membership). Null when the session
has no active workspace. Listing ALL of a user’s workspaces/memberships is
a frontend concern via better-auth’s organization.list — the generated
workspaces connection is scoped to the active workspace only.
Workspace and member CRUD (create, invite, roles, leave, set-active) happens via better-auth on the frontend; this API adds no workspace management mutations. Workspace DELETION is the exception: better-auth organization deletion is disabled, so the deleteWorkspace mutation below is the only public entry point into the serialized deletion lifecycle.
Headers
Workspace this request operates in — the workspace id (wksp_…) or the organization id, from GET /workspaces. Required with an API key, which carries no workspace (400 WORKSPACE_REQUIRED without it). With an OAuth token it defaults to the workspace the token was issued for. Responds 403 WORKSPACE_FORBIDDEN when the caller is not a current member, rather than falling back to another workspace.