LogoLogo
AboutBlogLaunch app ↗
v0.23.x
v0.23.x
  • Get Started
  • Overview
  • Getting Access to Distributional
  • Install the Python SDK
  • Quickstart
  • Learning about Distributional
    • Distributional Concepts
    • Why We Test Data Distributions
    • The Flow of Data
  • Using Distributional
    • Projects
    • Runs
      • Reporting Runs
      • Setting a Baseline Run
    • Metrics
    • Tests
      • Creating Tests
        • Using Filters in Tests
        • Available Statistics and Assertions
      • Running Tests
      • Reviewing Tests
        • What Is a Similarity Index?
    • Notifications
    • Access Controls
      • Organization and Namespaces
      • Users and Permissions
      • Tokens
  • Platform
    • Sandbox
    • Self-hosted
      • Architecture
      • Deployment
        • Helm Chart
        • Terraform Module
      • Networking
      • OIDC Authentication
      • Data Security
  • Reference
    • Query Language
      • Functions
    • Python SDK
      • dbnl
      • dbnl.util
      • dbnl.experimental
      • Classes
      • Eval Module
        • Quick Start
        • dbnl.eval
        • dbnl.eval.metrics
        • Application Metric Sets
        • How-To / FAQ
        • LLM-as-judge and Embedding Metrics
        • RAG / Question Answer Example
      • Classes
  • CLI
  • Versions
    • Release Notes
Powered by GitBook

© 2025 Distributional, Inc. All Rights Reserved.

On this page
  • dbnl
  • info
  • login
  • logout
  • sandbox

Was this helpful?

Export as PDF

CLI

The dbnl CLI is installed as part of the SDK and allows for interacting with the dbnl platform from the command line.

To install the SDK, run:

pip install dbnl

dbnl

The dbnl CLI.

dbnl [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

info

Info about SDK and API.

dbnl info [OPTIONS]

login

Login to dbnl.

dbnl login [OPTIONS] API_TOKEN

Options

--api-url <api_url>

API url

--app-url <app_url>

App url

--namespace-id <namespace_id>

Namespace id

Arguments

API_TOKEN

Required argument

Environment variables

DBNL_API_TOKEN

Provide a default for API_TOKEN

DBNL_API_URL

Provide a default for --api-url

DBNL_APP_URL

Provide a default for --app-url

DBNL_NAMESPACE_ID

Provide a default for --namespace-id

logout

Logout of dbnl.

dbnl logout [OPTIONS]

sandbox

Subcommand to interact with the sandbox.

dbnl sandbox [OPTIONS] COMMAND [ARGS]...

delete

Delete sandbox data.

dbnl sandbox delete [OPTIONS]

exec

Exec a command on the sandbox.

dbnl sandbox exec [OPTIONS] [COMMAND]...

Arguments

COMMAND

Optional argument(s)

logs

Tail the sandbox logs.

dbnl sandbox logs [OPTIONS]

start

Start the sandbox.

dbnl sandbox start [OPTIONS]

Options

-u, --registry-username <registry_username>

Registry username

-p, --registry-password <registry_password>

Required Registry password

--registry

Registry

  • Default:'us-docker.pkg.dev/dbnlai/images'

--version

Sandbox version

  • Default:'0.23'

--base-url <base_url>

Sandbox base url

  • Default:'http://localhost:8080'

status

Get sandbox status.

dbnl sandbox status [OPTIONS]

stop

Stop the sandbox.

dbnl sandbox stop [OPTIONS]
PreviousClassesNextRelease Notes

Last updated 17 days ago

Was this helpful?