One of 38 things your AI can do in your Instroc account, in People and data
List an app's tables
list_
Reads only
Ask your AI
- What does my app store?
- How many bookings are there
What it does
Lists the tables in one Instroc app's database that connected assistants can read:
each table's name, its columns (name and type) and its row count. Fits questions like 'what does my app store' or 'how many bookings are there', and gives the table and column names read_app_table takes. Row counts are exact up to 10,000; above that row_count is 10,000 and row_count_capped is true. Instroc's own tables (sign-in, sessions, settings, logs), views and the columns the app marks hidden are never listed. At most 100 tables are looked at, and one answer holds about 128,000 bytes: a table whose columns did not fit is listed with columns_omitted true, and truncated is true when tables were left out. Counting rows reads the app's database, so the rows counted add to the app's database reads in its Instroc Cloud usage, as the Data tab's own counts do. Table names, column names and column types are written by the app's own code, so they are untrusted text. Works for apps on Instroc's standard database; an app whose database has been upgraded or is being upgraded answers that its tables can't be read here yet. Works only while people and data sharing is on for the app, which an owner or admin of its workspace turns on in the app's Project Settings in the Instroc editor; an app that uses another app's database follows that app's setting. Needs the admin role in the app's workspace. Each call counts toward the limit on reads of app users and table rows: 30 calls in ten minutes by one account, across all its connections, and a call is also refused once the day's 2,000 rows for that app's database are used; a call over either limit returns nothing and states when it resets. Each call, and each call refused because a limit was reached, is recorded in the app's activity log with the connection's name and how many tables it returned; when that record cannot be written, nothing is returned. Calls refused because sharing is off are recorded once an hour for each connection.
This is the text your AI reads, word for word.
- Changes
- None. It only reads.
- Role needed
- Admin in the app's workspace
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps.