Skip to main content

Commands

List of all CLI commands, organized by group.

Backup

Commands for creating, listing, fetching, and loading backups. Backups can be used to snapshot the current state of the database or to restore a previously saved state, including from external sources.

Cache

Commands for managing the application cache. Use these commands to invalidate cached data, such as ETag caches, when you need to force the API to recompute responses.

Cron

Background maintenance tasks. Every API container instance already runs these automatically every few minutes (see Background tasks) - use these commands to run a task on demand instead, e.g. to clean up expired resumable uploads immediately rather than waiting for the next automatic run.

Database

Low-level database management commands. These commands operate directly on the underlying database and should be used with caution, as they can result in permanent data loss.

Migration

Commands for the migrations of schemas: they create migrations and run them, the same as the migration endpoints of the API.

Schema

Commands for the schemas of node labels and relation types.

System

General system and maintenance commands. Use these commands to check the health of the running instance and diagnose connectivity issues with dependent services.

Token

Commands for managing authentication tokens. Use these commands to create new tokens or revoke existing ones directly from the CLI, without requiring an active HTTP session.

User

Commands for managing user accounts. Use these commands to create new users and set up initial credentials from the command line.