Skip to main content
The DataErai API supports two authentication methods.

OAuth2 access token (programmatic access)

For scripts, the CLI, the SDKs, and other integrations, authenticate with an OAuth2 access token sent as a bearer token:
Authorization: Bearer <access-token>
You obtain a token by signing in through the browser or device flow. The CLI and SDKs run this flow for you, store the token, and refresh it automatically — so in practice you sign in once and let the client handle the rest. Tokens are short-lived and refreshed in the background. When you’re signed in to the DataErai web app, requests are authenticated with a session cookie. This is what the browser app uses; programmatic callers should use an access token instead.

Trying endpoints here

The interactive playground on each endpoint page sends real requests to the server you configure. Provide a valid credential to call authenticated endpoints, and never paste a production token into a shared or public environment.

Next steps

Authenticate the CLI

Get a token with the browser or device flow.

API reference

Base URL, formats, and conventions.