list_code_assets
List Colab notebooks, saved queries, and data canvas assets in BigQuery Studio. Filter by type or name to find assets without opening them.
Instructions
List Colab notebooks and saved queries in BigQuery Studio.
Use this for anything the user calls a Colab notebook, Colab Enterprise notebook, "colab script", BigQuery notebook, saved query or data canvas -- BigQuery Studio stores all of them as code assets and this lists them all.
Free -- this reads metadata only and never opens an asset. Bodies are what cost quota, so filter here first and open individual assets afterwards.
Args: environment: Which configured environment to read. Omit for the default. asset_type: Restrict to one of 'sql', 'notebook', 'data_canvas'. Saved queries usually outnumber notebooks by a wide margin, so this is the difference between a readable answer and 600 rows. name_contains: Case-insensitive substring match on the display name. limit: Maximum assets to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| asset_type | No | ||
| environment | No | ||
| name_contains | No |