Skip to main content
A source view is a materialized query over a connected integration. You describe what data you want — either in natural language or with a structured filter — and Airstore fetches matching results as files in the virtual filesystem.

Smart mode

Smart mode uses an LLM to translate natural language into the appropriate API query. Provide a guidance string describing what you want:
Be specific — "emails from investors in the last 30 days" works better than "investor stuff".

Query mode

Query mode uses structured filter objects — no LLM involved. When you pass a filter instead of guidance, the view is automatically created in query mode.
Each integration has its own filter schema. See Source Views for the full field reference.

GitHub content types

GitHub views support a content_type field that controls the output format:

Output formats

Sync a view

Source views are materialized — results are cached for fast reads. Call sync() to re-execute the query and pick up new data from the source:
Syncing is idempotent and safe to call repeatedly. Views also sync automatically in the background, but you can trigger a manual sync when freshness matters — for example, right before an agent reads the data.

Browse view contents

Once created, use the filesystem methods to read the view’s files:
There may be a short delay between creating a view and its contents appearing. If the view is empty right after creation, wait a few seconds and try again — or call sync() explicitly.

List all views

Update a view

Change the name, guidance, or filter of an existing view:
Updating a view triggers a re-sync with the new query.

Delete a view

Next steps

Read files

Read the files inside your source views.

Views reference

Full method reference for client.views.