Skip to main content
A workspace is the top-level container in Airstore. It holds connections, source views, members, and the virtual filesystem. Most backend flows start here — create a workspace, then set everything else up inside it.

Before you start

You need an organization token (org_...) to create workspaces. Set it as AIRSTORE_API_KEY or pass it to the constructor. See the overview for setup.

Create a workspace

The returned workspace.external_id is what you’ll pass to every other SDK method that operates within a workspace.

List workspaces

With an organization token, this returns all workspaces belonging to your tenant. With a workspace token, you’ll only see that workspace.

Get a specific workspace

Delete a workspace

Deleting a workspace removes all its connections, source views, members, and tokens. This cannot be undone.

Typical pattern: workspace per user

If you’re building a product on top of Airstore, a common pattern is one workspace per user or team:

Next steps

Connect integrations

Add Gmail, GitHub, and more to your workspace.

Workspaces reference

Full method reference for client.workspaces.