dataerai auth.
Log in
Browser login
Logged in as you@example.com.
Device login without a browser
On a server or runner with no browser, use the device flow:Check status
Log out
Next steps
Commands
Upload, download, and manage metadata.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sign in to Dataerai from the command line with a browser flow, or use the device flow on machines without a browser.
dataerai auth.
dataerai auth login [flags]
| Flag | Description |
|---|---|
--server | Base URL of your Dataerai deployment (https://<your-server>), or $DATAERAI_SERVER. |
--client-id | OAuth2 client ID, or $DATAERAI_CLIENT_ID. |
--timeout | How long to wait for the browser callback (default 5m). |
--device | Use the device authorization flow for environments without a browser. |
dataerai auth login --server https://<your-server>
Logged in as you@example.com.
dataerai auth login --device
dataerai auth status
# User: you@example.com
# Token: valid
# Expires: Tue, 06 May 2026 12:00:00 UTC
# Server: https://<your-server>
dataerai auth logout