Get Table Counts
Returns the number of records in a table: active records, or archived records when archived is true.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
archive_cms_tableuserArchive a CMS table (it leaves the list and its records stay) or bring it back with archived false, which counts against the plan's tables again.
get_ai_workspace_pending_countsuserReturns counts of pending workspace requests grouped by type (AI chats, AI agents, apps, contacts, account profiles, user drive) for a main account profile.
get_cms_tableuserOne CMS table as Xuda Studio stores it (its fields and indexes), with its record count and the database it lives in.
get_logs_countsuserReturns grouped log counts by request type or response status within a timestamp range.
save_cms_tableuserCreate a CMS table, or change one when table_id is sent. A table has a name, an optional description and its fields, each a name, a type (string, number, boolean, date, array, object, or relation) and whether it is required. A relation field relates the table to the Contacts module ({ kind: 'module', module: 'contacts' }) or to another CMS table of the workspace ({ kind: 'table', table_id }), holding one id or, with many, several; a saved relation keeps what it relates to and its shape. Field names start with a letter and use letters, digits and underscores. A new table counts against the plan's tables, and every table against its fields per table. The table is an ordinary Xuda Studio table in the workspace's database, so it opens in Studio too.
dbs_createadminCreates a new record in the specified app table from the provided key-value table data.
6 of 6 in Data (DBS)