Airstore class is the entry point for all SDK operations. It exposes resource namespaces (workspaces, connections, views, tokens, members, oauth, fs) that map to the Airstore REST API.
Constructor
AirstoreError if no API key is provided.
ClientOptions
RequestOptions
Every resource method acceptsRequestOptions as the last argument to override client-level settings for a single call:
ResponseMeta
Every response object has a non-enumerablelastResponse property with HTTP metadata:
rawRequest()
Escape hatch for endpoints not yet covered by the SDK:
Returns
Promise<Response> — the raw Fetch API response.
Resource namespaces
Retry behavior
The client automatically retries on status codes408, 409, 429, 500, 502, 503, and 504. Retries use exponential backoff starting at 500ms, capped at 8 seconds, with jitter. If the response includes a Retry-After or retry-after-ms header, the client respects that instead.
Set maxRetries: 0 to disable retries entirely.