Skip to main content
This page covers setting up your local development environment to use the Archetype API. You can use one of our officially supported client libraries or your own preferred HTTP client.

Export an API Key

Before you begin, you’ll need an API key to securely access the API across all client libraries. For support with API keys, please contact [email protected]. Once you have your API key, store it in a safe location and export it as an environment variable in your terminal.
Export your key by running the following in your terminal:
echo "export ATAI_API_KEY='yourkey'" >> ~/.zshrc
Reload your shell to activate the change:
source ~/.zshrc
Export your key by running the following in your terminal:
echo "export ATAI_API_KEY='yourkey'" >> ~/.bash_profile
Reload your shell to activate the change:
source ~/.bash_profile
Archetype client libraries are configured to automatically read your API key from the system environment.

Install an Official Client Library

Archetype provides an official client library for Python, with more languages coming soon. You can find the official Python client for the Archetype platform on GitHub at https://github.com/archetypeai/python-client.

Request a Library

Don’t see a library for your preferred language? We’d love to hear from you. Contact us at [email protected] to request support for additional languages such as JavaScript, Go, Rust, or others.