AutessaDB
AutessaDB is the platform's system of record, and the autessadb namespace is the largest in the CLI. Tables, rows, security roles, triggers and the audit trail are all reachable from the terminal, and every read and write goes through the same row-level and field-level security the web app enforces.
Key concepts
The sub-namespaces
| Namespace | What it does |
|---|---|
autessadb tables | Create and administer tables — schema, security, sharing, ownership, soft-delete |
autessadb query | Read and write rows, including bulk operations and semantic search |
autessadb trigger | Per-row automation that fires on insert, update or delete |
autessadb roles | The security roles that scope access |
autessadb access-log | The row-level data access audit trail |
autessadb drive | Files and folders in a Drive: browse, push and pull folders, grep, search, read, and share |
autessadb analytics | Columnar tables: load files and run read-only SQL |
Typed column values
This is the one thing that trips people up. Rows are not flat maps of column name to scalar. Each value is an AutessaDbColumnValue object carrying a columnType and the matching typed field:
{
"task": { "columnType": "SHORT_TEXT", "textValue": "Write the CLI docs" },
"status": { "columnType": "SINGLE_SELECT", "textValue": "doing" },
"id": { "columnType": "INTEGER", "integerValue": 1 }
}
Sending a bare value gets you a clear error rather than a silent misparse:
error [ENDPOINT_ERROR]: The request body did not match this endpoint's schema. Field $.values.
expected an object but got a string — send an object of that field's type
(e.g. { "columnType": ..., "...Value": ... }), not a bare value.
The reliable way to learn a column's typed field name is to read one row back with query get-data and copy the shape.
whereGroups conditions take plain scalars in value — the typed-object form is only for writing rows and reading them back.Built-in columns
Every table gets id, created_at and updated_at automatically. Do not declare them in a schema, and omit them when inserting — they are set for you. They are valid in filters and sort terms.
How to create a table
autessa autessadb tables create \
--tableName docs_cli_scratch \
--schema '{
"columnDefinitions": [
{
"columnName": "task",
"columnType": "SHORT_TEXT",
"required": true,
"columnComment": "What needs doing."
},
{
"columnName": "status",
"columnType": "SINGLE_SELECT",
"allowedValues": ["todo", "doing", "done"]
}
]
}'
{ "tableId": "ayXduiaLeFKh" }
Columns live in schema.columnDefinitions — not a field called columns. Per-column options worth knowing:
| Field | Effect |
|---|---|
required | Every row must carry a value |
columnComment | A human- and model-facing description of what the column holds |
allowedValues | The option set for SINGLE_SELECT / MULTI_SELECT |
vectorizeField | Index the column for semantic search (SHORT_TEXT, LONG_TEXT, FILE, AUDIO only) |
masked | Store encrypted at rest (SHORT_TEXT / LONG_TEXT only) |
Two schema-level flags matter at create time:
appendOnlymakes the table write-once — rows can be inserted and read but never updated or deleted. It is a one-way latch: it can be turned on later but never off, so set it at creation for ledger and audit tables. Computed columns are not allowed on one, and column removal is rejected because it would destroy history.tagsare free-form organizational labels.
DATETIME is legacy and rejected on create. Use SHORT_TEXT holding a UTC ISO-8601 string instead.Read a table's full configuration back with autessa autessadb tables get --tableId <id>, and list what you can reach with tables all — which splits results by how you got access: owned, shared company-wide, shared directly with you.
How to write rows
One row
autessa autessadb query insert --tableId ayXduiaLeFKh --values '{
"task": { "columnType": "SHORT_TEXT", "textValue": "Write the CLI docs" },
"status": { "columnType": "SINGLE_SELECT", "textValue": "doing" }
}'
{
"insertedId": 1,
"newRow": {
"id": { "columnType": "INTEGER", "integerValue": 1 },
"task": { "columnType": "SHORT_TEXT", "textValue": "Write the CLI docs" },
"status": { "columnType": "SINGLE_SELECT", "textValue": "doing" },
"created_at": { "columnType": "SHORT_TEXT", "textValue": "2026-09-10 09:26:50.497812" },
"updated_at": { "columnType": "SHORT_TEXT", "textValue": "2026-09-10 09:26:50.497812" }
}
}
Required columns and select-option membership are validated, and writing a column your field-level security forbids is rejected. Insert triggers and computed columns fire asynchronously afterwards — a computationStatus of COMPUTING in the response means computed columns are still being calculated.
Updating
autessa autessadb query update --tableId ayXduiaLeFKh --rowId 1 --values '{
"status": { "columnType": "SINGLE_SELECT", "textValue": "done" }
}'
Only the columns you send change. Omitted columns keep their current values, which is what lets a script update one field safely while a person edits another in the UI.
Many rows at once
| Command | Use |
|---|---|
query bulk-insert | Insert many rows in one call |
query bulk-update-by-ids | Update many rows by numeric id |
query bulk-delete-by-ids | Delete many rows by numeric id |
query batch-update | Update every row matching a filter |
query batch-delete | Delete every row matching a filter |
The bulk-* family addresses rows by id; the batch-* family addresses them by whereGroups. Prefer either over a loop of single-row calls — they are one round trip and one unit of work.
How to query rows
Everything, paged
autessa autessadb query get-data --tableId ayXduiaLeFKh --output table
Returns the schema plus a page of rows, sorted newest-updated first.
Filtered
whereGroups is an array of groups; conditions inside a group combine with the group's logicalOperator, and the groups themselves combine with --groupsLogicalOperator:
autessa autessadb query query --tableId ayXduiaLeFKh --whereGroups '[
{
"logicalOperator": "AND",
"conditions": [
{ "columnName": "status", "operator": "EQUALS", "value": "doing" },
{ "columnName": "created_at", "operator": "GREATER_THAN", "value": "2026-09-01" }
]
}
]'
{
"rows": [
{
"id": 1,
"columnData": {
"task": { "columnType": "SHORT_TEXT", "textValue": "Write the CLI docs" },
"status": { "columnType": "SINGLE_SELECT", "textValue": "doing" }
},
"createdAt": "2026-09-10T09:26:50.497812",
"updatedAt": "2026-09-10T09:26:50.497812"
}
]
}
Available operators: EQUALS, NOT_EQUALS, GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, CONTAINS, ICONTAINS, STARTS_WITH, ENDS_WITH, LIKE, ILIKE, IN, NOT_IN, BETWEEN, IS_NULL, IS_NOT_NULL. Omitting operator defaults to EQUALS.
A few rules that save debugging time:
IN/NOT_INtake an array;BETWEENtakes exactly two values[low, high];IS_NULL/IS_NOT_NULLignorevalue.ICONTAINSis the right operator for a user-typed search box — it is case-insensitiveCONTAINS.LIKEandILIKEpass%and_through unescaped. Never hand them raw user input.- Media columns support only
IS_NULL/IS_NOT_NULL. Masked columns support equality operators only.
Sorting and paging:
autessa autessadb query query --tableId ayXduiaLeFKh \
--orderBy '[{"columnName":"created_at","direction":"ASC"}]' \
--page 1 --pageSize 25
orderBy defaults to updated_at DESC then id DESC. Direction defaults to DESC — only an explicit ASC ascends. Page numbers here are 1-based, unlike the 0-based paging used by the history commands.
Joins, aggregates and semantic search
# follow foreign keys
autessa autessadb query join-query --tableId ayXduiaLeFKh --json '{...}'
# group-by rollups computed server-side
autessa autessadb query aggregate --tableId ayXduiaLeFKh --json '{...}'
# vector search over a vectorized column
autessa autessadb query semantic-search --tableId ayXduiaLeFKh --json '{...}'
semantic-search needs a column created with vectorizeField: true. Run each command's help for its exact argument shape.
How to change a schema
autessa autessadb tables update-schema --tableId ayXduiaLeFKh --json '{...}'
update-schema adds columns, removes columns, and adds options to SINGLE_SELECT / MULTI_SELECT columns. There is no rename and no retype — changing a column's name or type means adding a new one and migrating.
This is a replace-semantics method, so --replace applies if you are sending an authoritative schema rather than a delta. See Global flags.
How to add a trigger
Triggers fire per row on insert, update or delete, and run a tool, an agent, a manager, or a write to another table:
autessa autessadb trigger add --tableId ayXduiaLeFKh --json '{...}'
autessa autessadb trigger all --tableId ayXduiaLeFKh
autessa autessadb trigger disable --tableId ayXduiaLeFKh --triggerId <id>
autessa autessadb trigger enable --tableId ayXduiaLeFKh --triggerId <id>
disable stops a trigger firing without deleting it — the right move when you are debugging a loop, since delete is permanent.
Read what fired, with decrypted event input and response output:
autessa autessadb trigger history --tableId ayXduiaLeFKh --year 2026 --month 9
autessa trigger-history list --tableId ayXduiaLeFKh
autessa trigger-history detail --eventId a02e8438-9032-46f3-a875-41d051f2c013
autessadb trigger history is per-table and per-month; the top-level trigger-history namespace lists across the whole company newest-first, with detail returning full uncapped payloads. Both back the same views described in Triggers.
How to review access
autessa autessadb access-log list --tableId ayXduiaLeFKh
The row-level data access log, newest first, filterable by table, row, date range and action. This is the record of who read and wrote which rows — the audit surface the web app renders, readable from the terminal.
How to manage security
autessa autessadb roles list
autessa autessadb roles create --json '{...}'
autessa autessadb tables update-settings --tableId ayXduiaLeFKh --json '{"rlsEnforced":true}'
autessa autessadb tables share --tableId ayXduiaLeFKh --level COMPANY --accessLevel READ
update-settings is owner-or-ADMIN only. It toggles row-level security enforcement and sets the default role auto-assigned to grantees when the table is shared. get-sharing-details shows exactly what share and update-settings would modify, without changing anything.
How to delete and restore
autessa autessadb tables cli-delete --tableId ayXduiaLeFKh
autessa autessadb tables list-deleted
autessa autessadb tables restore --tableId ayXduiaLeFKh
Table deletion is a soft delete with a 14-day grace period. list-deleted is your trash, showing the time left before each table is purged, and restore brings one back within that window.
Shorthand: autessa drive
Short commands for Drives (CLI 0.6.0 and later). Pick the Drive once with autessa drive use <name>; it is remembered for the profile. Paths are relative to the Drive root (a leading / is optional; / alone is the whole Drive). Output is plain text; add --json for the raw response, or --drive <name> to use another Drive for one command.
| Command | What it does |
|---|---|
autessa drive use [name] | Pick the Drive (by name or ID); without a name, list your Drives |
autessa drive ls [path] | List a folder |
autessa drive tree [path] | Show the folder structure |
autessa drive stat <path> | Size, version, text status and your access |
autessa drive cat <path> | Print a file's text (--numbers keeps line numbers; --pages 2-3 or --lines 1-50 for a range) |
autessa drive read <path> --pages 3-5 | Print one range of a file's text |
autessa drive grep <text> [folder] | Find exact text: one path:page:line: text line per match |
autessa drive search "<words>" [folder] | Ranked keyword search; meaning-based when semantic search is enabled |
autessa drive touch <path> | Create an empty file (no change if it exists) |
autessa drive write <path> [text] | Create or replace a text file; text from the argument or stdin |
autessa drive append <path> [text] | Add text to the end of a file; text from the argument or stdin |
autessa drive edit <path> --old <text> --new <text> [--all] | Replace exact text |
autessa drive mkdir <path>... | Create folders |
autessa drive mv <from> <to> | Move into a folder, or rename by giving a new path (--confirm when access changes) |
autessa drive rm <path>... [--forever] | Move to the trash, or delete for good |
autessa drive comment <path> "text" [--page N] [--reply <threadId>] | Add a comment, optionally on a page or as a reply |
autessa drive comments <path> [--includeResolved] | List a file's comment threads |
autessa drive share <path> --team <name> | --user <email> | --company | --members --role viewer|commenter|editor | Share a file or folder (--members: with every Drive member), or / to add Drive members |
autessa drive link <path> | Create a view link (--audience ANYONE for a public one) |
autessa drive open <path> | Print a 10-minute download link |
autessa drive push <local folder> [drive folder] | Upload a local folder (resumable) |
autessa drive pull <drive folder> <local folder> | Download a Drive folder |
autessa drive use Docs
echo "- Acme prefers Net 45" | autessa drive append notes/memory.md
autessa drive edit notes/memory.md --old "Net 45" --new "Net 60"
autessa drive grep "Net 60" notes/
Errors show the server's code and a hint, for example error [EDIT_AMBIGUOUS]: oldText matches 2 places followed by hint: Add surrounding words…. Run autessa drive help <command> for a command's arguments and the full command it runs.
Shorthand: autessa analytics
| Command | What it does |
|---|---|
autessa analytics use [table] | Pick the columnar table; without a name, list them |
autessa analytics describe | Columns, partition columns and size |
autessa analytics load <file> [--mode REPLACE] | Upload a CSV, Parquet or JSON-lines file and load it |
autessa analytics query "<sql>" | Run SQL and print the rows (waits for the job; Ctrl-C cancels) |
autessa analytics jobs | Recent query and load jobs |
autessa analytics suggest [--focus measures] [--apply] | Draft the semantic layer with AI; --apply saves it |
--table <name> uses another table for one command.
How to work with a Drive
A Drive is a table of files and folders, and autessadb drive treats it like a remote file system. Every command takes the Drive's --tableId, and paths are absolute (/Shared/Legal/Contracts). Commands run as you, so you see and change exactly what you could in the explorer.
Browse
autessa autessadb drive ls --tableId V1StGXR8Z5 --path /Shared/Legal --output table
autessa autessadb drive tree --tableId V1StGXR8Z5 --path /Shared/Legal --maxDepth 2
autessa autessadb drive find --tableId V1StGXR8Z5 --path /Shared --glob '*.pdf' --modifiedAfter 2026-09-01T00:00:00Z
autessa autessadb drive stat --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts/acme-msa.pdf
id type name sizeBytes version extractionStatus
---- ------ ------------- --------- ------- ----------------
4190 FOLDER Archive
4182 FILE acme-msa.pdf 482113 2 EXTRACTED
Listings are paged. When a response carries a nextCursor, pass it back as --cursor with the same other flags. truncated tells you whether a response is complete; nothing is dropped silently.
Upload a folder
autessa autessadb drive push --tableId V1StGXR8Z5 --localDir ./contracts --path /Shared/Legal/Contracts
scanning ./contracts ... 214 files, 1.8 GB
uploading [=============> ] 131/214 1.1 GB 4 parallel
committed 214 files, created 9 folders
push walks the local folder, creates the matching folders, uploads files four at a time (large files in parts), and commits them. Progress goes to stderr, so stdout stays clean JSON. Add a .autessaignore file (same syntax as .gitignore) to the local folder to skip files.
| Flag | Effect |
|---|---|
--onConflict FAIL|RENAME|NEW_VERSION | What to do when a file already exists. FAIL (default) skips and reports that file; RENAME keeps both; NEW_VERSION replaces it and keeps the old content as a version. |
--mirror | Also move Drive files that are no longer in the local folder to the trash. Without it, push only adds and updates. |
To upload a single file:
autessa autessadb drive upload --tableId V1StGXR8Z5 --localFile ./initech-msa.pdf --path /Shared/Legal/Contracts/initech-msa.pdf
Download a folder
autessa autessadb drive pull --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts --localDir ./contracts
pull recreates the folder structure locally and verifies each file's checksum after download.
Search and read
# exact text, one line per match
autessa autessadb drive grep --tableId V1StGXR8Z5 --path /Shared/Legal \
--pattern 'termination for convenience' --caseInsensitive true --output text
# ranked search (meaning-based when the Drive's semantic search is on)
autessa autessadb drive search --tableId V1StGXR8Z5 --query 'terminate contract early'
# read a page or a line range
autessa autessadb drive read --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts/acme-msa.pdf --pages 4
/Shared/Legal/Contracts/acme-msa.pdf:4:12: 12.2 Termination for Convenience. Either party may terminate this Agreement
/Shared/Legal/Contracts/globex-msa.pdf:7:3: 9.1 Termination for Convenience. Customer may terminate upon thirty (30) days
--output text prints path:page:line: text, ready for grep, sort, or an editor's quickfix list. For text files the page is omitted and the line is the file's real line number. Add --regex true for regular expressions and --context 2 for surrounding lines.
Organize and share
autessa autessadb drive mkdir --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts/2026
autessa autessadb drive move --tableId V1StGXR8Z5 --path /Drafts/sow.docx --destination /Shared/Legal/Contracts
autessa autessadb drive trash --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts/old
autessa autessadb drive shares upsert --tableId V1StGXR8Z5 --path /Shared/Legal \
--principals '[{"type":"TEAM","teamId":"3b1f6a2e-7c41-4d55-9a0e-58c2b7f1d903"}]' --role VIEWER
autessa autessadb drive shares list --tableId V1StGXR8Z5 --path /Shared/Legal/Contracts/acme-msa.pdf
To add Drive members, use --path / (or the shorthand autessa drive share / --team Finance --role editor). Members see the Drive but no folder or file in it until that item is shared with them; autessa drive share Legal --members --role viewer shares a folder with every current member. A move that would change who has access returns requiresConfirmation with the list of who would gain or lose access, and moves nothing. Re-run with --confirm true to go ahead.
How to load and query analytics tables
Columnar tables are queried with read-only ANSI SQL. Loads and queries run as asynchronous jobs, and queries typically take a few seconds; by default the CLI waits for the job and prints the result.
Load a file
autessa autessadb analytics load --tableId V1StGXR8Z5 --localFile ./orders-2026-09.parquet
autessa autessadb analytics load --tableId V1StGXR8Z5 --localFile ./orders.csv --mode REPLACE
load uploads the local CSV or Parquet file in parts, starts the load, and waits for it to finish, printing rows loaded and any rejected rows. --mode is APPEND (default) or REPLACE.
Run a query
autessa autessadb analytics query --tableId V1StGXR8Z5 --output table --sql "
SELECT region, SUM(net_amount) AS revenue
FROM order_lines
WHERE order_date >= DATE '2026-01-01'
GROUP BY region
ORDER BY revenue DESC"
region revenue
------ -----------
NA 28411093.20
EMEA 15002118.45
APAC 6120774.00
| Flag | Effect |
|---|---|
--output table|csv|json | table for reading, csv to save or pipe (> revenue.csv), json (default) for scripts. |
--maxRows | Cap the rows kept in the result. |
--no-wait | Return the jobId immediately instead of waiting. |
With --no-wait, check on the job and fetch its result later:
autessa autessadb analytics query --tableId V1StGXR8Z5 --sql "SELECT ..." --no-wait
autessa autessadb analytics job-status --tableId V1StGXR8Z5 --jobId 1f8e5c3a-9b2d-4e7f-a6c1-3d0b9e2f7a54
autessa autessadb analytics job-results --tableId V1StGXR8Z5 --jobId 1f8e5c3a-9b2d-4e7f-a6c1-3d0b9e2f7a54 --output csv
autessa autessadb analytics cancel --tableId V1StGXR8Z5 --jobId 1f8e5c3a-9b2d-4e7f-a6c1-3d0b9e2f7a54
Draft the semantic layer with AI
autessa analytics suggest # print the AI draft (JSON)
autessa analytics suggest --focus measures # only measures
autessa analytics suggest --apply # print, then save it
--apply saves through update-semantics at the version the draft was made from, so a concurrent edit is refused rather than overwritten. Needs CLI 0.7.0 or later.
Describe before you query
autessa autessadb analytics describe --tableId V1StGXR8Z5
autessa autessadb analytics estimate --tableId V1StGXR8Z5 --sql "SELECT COUNT(*) FROM order_lines"
describe returns the SQL name, columns, partition columns, measures, joins, and verified queries. estimate reports how much data a query would scan without running it. Filter on partition columns to keep scans small.
drive push, drive pull, drive upload, and analytics load read and write local files, which needs a recent CLI. If the command is missing, update with autessa update (or reinstall with npm i -g https://api.autessa.com/cli) and run autessa --refresh help.Full command reference
| Command | What it does |
|---|---|
| autessa autessadb access-log list | List the company's row-level data access log, newest first, filterable by table, row, date range, and action. |
| autessa autessadb analytics add-columns | Add columns to an analytics table. |
| autessa autessadb analytics append-rows | Append rows (objects keyed by column name), at most 10,000 rows or 5 MB per call. |
| autessa autessadb analytics archive delete-archived | Delete archived data of a table without an archive lock. |
| autessa autessadb analytics archive restore | Make archived days from..to queryable again as the read-only table <sqlName>__restored for days days (default 7, at most 30), with the same columns and access rules as the table. |
| autessa autessadb analytics archive segments | List the archived days of a table (optionally between from and to): rows, bytes, storage class (GLACIER_IR is readable at once; DEEP_ARCHIVE needs a restore of up to 12 hours) and status (ARCHIVED, RESTORING, RESTORED, EXPIRED, DELETED), with the table's hotDays, archiveDays and lock. |
| autessa autessadb analytics ask | Turn a plain-language question into proposed SQL for these tables, using their descriptions, measures and verified queries. |
| autessa autessadb analytics cancel | Cancel a queued or running job. |
| autessa autessadb analytics create | Create a new analytics table. |
| autessa autessadb analytics create-agent-tools | Create the three agent tools for these analytics tables — describe tables, run a query, and fetch a query's results — so an agent can answer questions with SQL. |
| autessa autessadb analytics delete-rows | Delete the rows of an analytics table that match one condition, as a job of kind DELETE (it shows in jobs and its bytes scanned count toward your usage). |
| autessa autessadb analytics describe | Describe one or more analytics tables for writing SQL: SQL name, description, grain (what one row is), columns with types, descriptions and synonyms, partition columns (always filter on these), row count, size and last load time, and the semantic layer (named measures, documented joins and verified example queries). |
| autessa autessadb analytics estimate | Check a query before running it: the execution plan, an upper bound of the bytes it can read after partition pruning, the tables it reads and hints (for example which partition column to filter on). |
| autessa autessadb analytics infer-schema | Propose columns for a file already uploaded (see the uploads commands or the web app): reads the header and a sample of a CSV or newline-delimited JSON file, or the schema of a Parquet file, and returns suggested column names and types, up to 20 sample rows and warnings. |
| autessa autessadb analytics job-download-url | A short-lived (5 minute) download link for a finished query's full result as CSV or Parquet. |
| autessa autessadb analytics job-results | One page of a finished query's rows (pages are 1-based, pageSize at most 1000), as positional values matching columns. |
| autessa autessadb analytics job-status | A job's state and, once finished, its row count, bytes scanned and elapsed time, or its error (errorCode, errorMessage, hint). |
| autessa autessadb analytics jobs | List recent analytics jobs you can see (queries, previews, loads, appends), newest first, optionally for one table, state or kind. |
| autessa autessadb analytics load | Load a local file into an analytics table from the command line: the CLI uploads the file, then starts the load and waits for it (use --no-wait to return the jobId at once). |
| autessa autessadb analytics load-from-s3 | Load uploaded files into an analytics table as one asynchronous job. |
| autessa autessadb analytics load-from-table | Copy every row of an ordinary AutessaDB table into this analytics table as one asynchronous job. |
| autessa autessadb analytics load-from-url | Load one file that the server fetches itself, so large sources never pass through your machine. |
| autessa autessadb analytics preview | The first rows of a table (or of a SELECT), at most 100, without managing a job. |
| autessa autessadb analytics query | Run read-only SQL (one SELECT / WITH query, ANSI SQL dialect) over the analytics tables you can read, referenced by their SQL names. |
| autessa autessadb analytics set-lifecycle | Set an analytics table's archive tier for long retention (for example logs kept 1 to 7 years): hotDays is how long rows stay queryable in the table; each older day is then exported to the archive as compressed Parquet, verified, and removed from the table. |
| autessa autessadb analytics set-retention | Keep an analytics table's rows for a number of days: every day, rows whose retentionColumn (a DATE or TIMESTAMP column; default _loaded_at, the load time) is older than retentionDays are deleted by a system DELETE job. |
| autessa autessadb analytics suggest-semantics | Draft a table's semantic layer with the assistant, for a person to review: a description and grain, column descriptions and synonyms, measures, verified queries and joins. |
| autessa autessadb analytics update-semantics | Replace a table's semantic layer: description, grain, measures (name plus an SQL aggregate expression, e.g. |
| autessa autessadb drive access | Your effective access to a file or folder (or, with path /, your Drive membership), plus your Drive membership role. |
| autessa autessadb drive comments add | Add a comment to a file, or a reply to a thread (parentId). |
| autessa autessadb drive comments delete | Delete a comment. |
| autessa autessadb drive comments edit | Change the text of your own comment. |
| autessa autessadb drive comments list | The comment threads of a file, oldest first, each with its replies. |
| autessa autessadb drive comments resolve | Resolve (or, with resolved false, reopen) the thread a comment belongs to. |
| autessa autessadb drive create | Create a new Drive for your company. |
| autessa autessadb drive download-url | A short-lived download link for a file (or one of its previous versions). |
| autessa autessadb drive edit | Replace an exact piece of text in a text file, like an editor's find-and-replace. |
| autessa autessadb drive empty-trash | Permanently delete everything in the trash that you can edit. |
| autessa autessadb drive fetch | Get a file itself: a 10-minute download link plus its name, type, size and version (or one of its previous versions). |
| autessa autessadb drive find | Find files and folders by name pattern, type, size or date anywhere under a folder. |
| autessa autessadb drive grep | Search the text inside files for an exact phrase or a regular expression and return each matching line with its page and line number. |
| autessa autessadb drive links create | Create a view-only share link to a file, a folder or the whole Drive (path / or scope drive). |
| autessa autessadb drive links list | Active share links of a file or folder (or all links you created). |
| autessa autessadb drive links open | Open a share link while signed in (required for company-only links). |
| autessa autessadb drive links revoke | Turn off a share link immediately. |
| autessa autessadb drive ls | List the contents of one folder, folders first. |
| autessa autessadb drive mkdir | Create folders. |
| autessa autessadb drive move | Move files and folders into another folder. |
| autessa autessadb drive pull | Download links for every file under a folder, with paths relative to it, one page at a time. |
| autessa autessadb drive purge | Permanently delete trashed items and everything inside them. |
| autessa autessadb drive push | Add files you already uploaded (with the CLI's push or uploads.create) to the Drive, creating folders as needed. |
| autessa autessadb drive read | Read the extracted text of a file as numbered lines, by page range or line range. |
| autessa autessadb drive rename | Rename a file or folder in place. |
| autessa autessadb drive restore | Restore trashed items to where they were (renamed if the name was taken since). |
| autessa autessadb drive search | Ranked keyword search across the files you can read, best matches first, each with page and line locators and a snippet with the matched words marked as **word**. |
| autessa autessadb drive settings-get | The Drive's settings. |
| autessa autessadb drive settings-update | Change the Drive's settings. |
| autessa autessadb drive shares list | Who has access to a file or folder: the owner, Drive managers, shares on it or on a folder above it, and links. |
| autessa autessadb drive shares remove | Remove a share. |
| autessa autessadb drive shares shared-with-company | Files and folders shared with everyone at your company, newest first (shared-with-me includes these too). |
| autessa autessadb drive shares shared-with-me | Files and folders shared with you directly, through your teams or with everyone at your company, newest first. |
| autessa autessadb drive shares upsert | Give people, teams or the whole company VIEWER, COMMENTER or EDITOR access to a file or folder (COMMENTER can read and comment but not change files), or make them members of the whole Drive (path / or scope drive; membership shows the Drive but no items). |
| autessa autessadb drive stat | Details of one file or folder, with text-extraction status, version count and your access. |
| autessa autessadb drive status | Processing status of the Drive's files: how many are extracted, indexed, pending or failed. |
| autessa autessadb drive transfer-owner | Give ownership of a file or folder to another member of your company. |
| autessa autessadb drive trash | Move files and folders to the trash. |
| autessa autessadb drive trash-list | List the items in the trash that you can restore, newest first. |
| autessa autessadb drive tree | Return the folder tree under a path, in path order, down to a depth. |
| autessa autessadb drive upload | Add one uploaded file to the Drive, optionally at a different path or folder. |
| autessa autessadb drive usage | Drive storage used by your company and the limits. |
| autessa autessadb drive versions list | All versions of a file, newest first, starting with the current one. |
| autessa autessadb drive versions restore | Make a previous version the current content (the current content becomes a version). |
| autessa autessadb drive write | Write text to a file: create it, replace all of it, or append to its end. |
| autessa autessadb query aggregate | Run a group-by aggregation over a table — count/sum/avg/min/max and similar rollups computed server-side. |
| autessa autessadb query batch-delete | Delete every row matching the given WHERE groups in one call. |
| autessa autessadb query batch-update | Update every row matching the given WHERE groups to the given column values in one call. |
| autessa autessadb query bulk-delete-by-ids | Delete many rows by their numeric ids in one call. |
| autessa autessadb query bulk-insert | Insert many rows in one call. |
| autessa autessadb query bulk-update-by-ids | Update many rows by their numeric ids in one call. |
| autessa autessadb query delete-row | Delete a single row by its numeric row id. |
| autessa autessadb query generate-upload-link | Get a presigned S3 PUT URL to upload media for a FILE/IMAGE/AUDIO/VIDEO column. |
| autessa autessadb query get-data | Page through all of a table's rows with no filters, sorted newest-updated first (updated_at DESC, id DESC). |
| autessa autessadb query get-single-row | Fetch one row by its numeric row id. |
| autessa autessadb query insert | Insert one row into a table as a map of column name to typed value. |
| autessa autessadb query join-query | Query a table joined to related tables via foreign keys, with WHERE groups, ordering, column projection, and pagination. |
| autessa autessadb query query | Query a table's rows with WHERE groups, ordering, and pagination — the primary way to read filtered data. |
| autessa autessadb query semantic-search | Semantic (vector) search over a table's indexed column, ranked by similarity to a query string. |
| autessa autessadb query update | Update a single row's column values by row id; only the columns you send change (omitted columns keep their current value, so this coexists with concurrent user edits to other columns). |
| autessa autessadb roles create | Create an AutessaDB security role. |
| autessa autessadb roles delete | Delete an AutessaDB security role and its assignments. |
| autessa autessadb roles get | Fetch one AutessaDB security role by roleId, including its table policies and assignments. |
| autessa autessadb roles list | List the company's AutessaDB security roles. |
| autessa autessadb roles update | Update an AutessaDB security role. |
| autessa autessadb tables all | List every AutessaDB table you can access in the current company, split by how you got access — tables you own, tables shared company-wide, and tables shared specifically with you. |
| autessa autessadb tables cli-delete | Soft-delete a table in one call. |
| autessa autessadb tables create | Create a new ordinary AutessaDB table. |
| autessa autessadb tables get | Fetch a table's full configuration (schema with columns, built-ins, triggers, settings, type, and tags) and your own access level on it, by table id. |
| autessa autessadb tables get-sharing-details | Get a table's sharing level, company-wide permission, per-user grants, your own access level, and its row-security settings — a read-only view of exactly what share and update-settings would modify. |
| autessa autessadb tables list-deleted | List your soft-deleted tables (your trash), each with the time left before it is permanently purged. |
| autessa autessadb tables restore | Restore a soft-deleted table within its 14-day grace period, before the hard-delete sweep purges it. |
| autessa autessadb tables share | Set a table's sharing mode — PRIVATE, COMPANY-wide at one access level, or SPECIFIC_MEMBER with per-user grants via usersToAdd/usersToRemove. |
| autessa autessadb tables update-schema | Modify a table's schema by removing columns, adding columns, and adding SINGLE_SELECT/ MULTI_SELECT options (there is no rename or retype). |
| autessa autessadb tables update-settings | Update a table's security settings (owner or ADMIN only) — toggle rlsEnforced and set or clear the default role auto-assigned to grantees when the table is shared. |
| autessa autessadb trigger add | Add a trigger to a table that fires per row on INSERT/UPDATE/DELETE and runs a tool, an agent, a manager, or a write to another AutessaDB table. |
| autessa autessadb trigger all | List all of a table's triggers (enabled or not). |
| autessa autessadb trigger delete | Permanently remove a trigger from the table. |
| autessa autessadb trigger disable | Disable a trigger without deleting it; it stops firing until re-enabled. |
| autessa autessadb trigger enable | Re-enable a disabled trigger so it fires on future row changes. |
| autessa autessadb trigger get | Fetch a single trigger's configuration by id. |
| autessa autessadb trigger history | Page through a table's trigger execution history — which triggers fired, on what event, and their result — for a given year and month. |
| autessa autessadb trigger update | Update a trigger by submitting triggerId plus the complete modified trigger object. |
Related
- Tools and Agents
- Autessa CLI
- Tables and Triggers in the builder
- AutessaDB tool types
- AutessaDB API, Drive API, and AutessaDB - Columnar API
- Drive and Columnar tables in the builder