Skip to main content
The Airstore TypeScript SDK gives you programmatic control over workspaces, integrations, source views, and the virtual filesystem. Use it to provision Airstore from your backend, automate setup for new users, or build custom workflows on top of the filesystem.

Install

Authentication

The SDK reads your API key from the AIRSTORE_API_KEY environment variable automatically. You can also pass it directly:
You’ll find your API key in the Airstore dashboard under Settings > API Keys.
Organization tokens (org_...) can manage multiple workspaces. Workspace tokens (tok_...) are scoped to a single workspace. For backend provisioning, use an organization token.

Quick example

Here’s a typical provisioning flow — create a workspace, connect Gmail, set up a source view, and generate a mount token:

Configuration

What’s next

Create and manage workspaces

Provision workspaces for your users.

Connect integrations

Wire up Gmail, GitHub, and more via OAuth.

Create source views

Define source views with natural language or structured filters.

Read files

Browse and read from the virtual filesystem.

Tokens and mounting

Generate tokens for headless CLI mounting.

API Reference

Full method-by-method reference.