Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.athina.ai/llms.txt

Use this file to discover all available pages before exploring further.

Import the required classes and initialize Athina API key.
import os
from athina_client.datasets import Dataset
from athina_client.keys import AthinaApiKey

AthinaApiKey.set_key(os.getenv('ATHINA_API_KEY'))
Now you can list all datasets.
# List all datasets
try:
    datasets = Dataset.list_datasets()
except Exception as e:
    print(f"Failed to list datasets: {e}")