Skip to main content
nx1 is a command-line tool in NexusOne’s Jupyter environment that interacts with the NexusOne platform. It’s a command-line alternative to NexusOne API endpoints. Its core features span the following categories:
  • Data ingestion: Upload local or remote files.
  • Data management: Manage data quality and DataHub data products.
  • Governance and security: Manage user/group access to data, switch to different profile accounts, and interact with the Gravitino metadata service through a shared client.
  • Job orchestration: Submit, monitor, and manage Airflow jobs.
  • Platform interaction: Inspect NexusOne system health, add S3 buckets, and manage app packaged DAGs + Artifacts.
  • Query and AI assistance: Interact with data and generate suggestions.
  • Table and metadata operations: Manage tables and schemas.

Problems nx1 solves

The core problem the nx1 command-line tool solves is the complexity of constructing HTTP requests to interact directly with a NexusOne API endpoint. When you are working directly with the API, you must know a bit of computer networking, specifically, how the application-layer works. That means thinking in terms of the following:
  • HTTP methods such as GET, POST, or DELETE
  • NexusOne endpoints such as /catalogs or /tables
  • HTTP authentication headers
  • HTTP request bodies
  • Splitting the result into small chunks
  • HTTP response parsing
For example, when you are using curl to create an Airflow job in NexusOne, the command looks something like the following:
To use the previous command, you need to understand the request structure and the data sent to the API. The nx1 tool shifts your interaction from computer networking application-layer protocols like HTTP, to commands that directly represent NexusOne actions. Now, instead of manually constructing API requests, you configure your NexusOne API key and host URL once and then run a command such as:
After running the previous command, nx1 makes and sends an API request on your behalf to the NexusOne platform.

Supported nx1 operations

The nx1 tool supports the following operations.

Additional resources

For more information about the supported flags and how to use them, refer to the nx1 command line reference page.