## defradb client Interact with a DefraDB node ### Synopsis Interact with a DefraDB node. Execute queries, add collections, obtain node info, etc. ### Options ``` --audience string Audience to set on minted auth tokens. Defaults to the host of --url -h, --help help for client -i, --identity string Hex formatted private key used to authenticate with ACP --source-hub-address string The SourceHub address authorized by the client to make SourceHub transactions on behalf of the actor --tx uint Transaction ID --url string URL of HTTP endpoint to listen on or connect to (default "127.0.0.1:9181") ``` ### Options inherited from parent commands ``` --log-format string Log format to use. Options are text or json (default "text") --log-level string Log level to use. Options are debug, info, error, fatal (default "info") --log-output string Log output path. Options are stderr or stdout. (default "stderr") --log-overrides string Logger config overrides. Format ,=,...;,... --log-source Include source location in logs --log-stacktrace Include stacktrace in error and fatal logs --no-log-color Disable colored log output --rootdir string Directory for persistent data (default: $HOME/.defradb) ``` ### SEE ALSO * [defradb](defradb.md) - DefraDB Edge Database * [defradb client acp](defradb_client_acp.md) - Interact with the access control system(s) of a DefraDB node * [defradb client action](defradb_client_action.md) - Manage DefraDB actions * [defradb client backup](defradb_client_backup.md) - Interact with the backup utility * [defradb client block](defradb_client_block.md) - Manage blocks of a running DefraDB instance * [defradb client collection](defradb_client_collection.md) - Interact with a collection. * [defradb client document](defradb_client_document.md) - Interact with documents. * [defradb client dump](defradb_client_dump.md) - Dump the contents of DefraDB node-side * [defradb client encrypted-index](defradb_client_encrypted-index.md) - Manage collections' encrypted indexes on a running DefraDB node * [defradb client index](defradb_client_index.md) - Manage collections' indexes of a running DefraDB instance * [defradb client lens](defradb_client_lens.md) - Interact with the collection migration system of a running DefraDB instance * [defradb client node-identity](defradb_client_node-identity.md) - Get the public information about the node's identity * [defradb client node-options](defradb_client_node-options.md) - Get the node's configuration options as JSON * [defradb client p2p](defradb_client_p2p.md) - Interact with the DefraDB P2P system * [defradb client purge](defradb_client_purge.md) - Delete all persisted data and restart * [defradb client query](defradb_client_query.md) - Send a DefraDB GraphQL query request * [defradb client tx](defradb_client_tx.md) - Create, commit, and discard DefraDB transactions * [defradb client view](defradb_client_view.md) - Manage views within a running DefraDB instance