Skip to Content
DocsAPI Tokens

API Tokens

API tokens authenticate programmatic access to Rhesis via the REST API or Python SDK. Generate and manage them at app.rhesis.ai/tokens . The token is shown only once at creation — copy it immediately.

Token Overview

Using API Tokens

With REST API

Include the token in the Authorization header:

Terminal
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" \
https://api.rhesis.ai/tests

With Python SDK

Initialize the SDK with your token:

client.py
from rhesis.sdk import RhesisClient

client = RhesisClient(api_key="YOUR_TOKEN_HERE")

See Python SDK for complete usage documentation.