Smart mode
Smart mode uses an LLM to translate natural language into the appropriate API query. Provide aguidance string describing what you want:
"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 afilter instead of guidance, the view is automatically created in query mode.
GitHub content types
GitHub views support acontent_type field that controls the output format:
Output formats
Sync a view
Source views are materialized — results are cached for fast reads. Callsync() to re-execute the query and pick up new data from the source:
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:Delete a view
Next steps
Read files
Read the files inside your source views.
Views reference
Full method reference for
client.views.