Learn how to authenticate your API requests and manage access keys securely.
Smallest AI uses API keys for authentication. You must include your key with every API request to authenticate your identity and track usage against your quota.
Each API key can be scoped to the following:
Your API key is confidential and should be kept secure. Never share it with others or expose it in client-side code (browsers, mobile apps, github repositories, etc.).
All API requests require your key in the Authorization
header using the Bearer key format:
Test the API with this curl command by replacing YOUR_API_KEY
with your actual key:
Learn how to authenticate your API requests and manage access keys securely.
Smallest AI uses API keys for authentication. You must include your key with every API request to authenticate your identity and track usage against your quota.
Each API key can be scoped to the following:
Your API key is confidential and should be kept secure. Never share it with others or expose it in client-side code (browsers, mobile apps, github repositories, etc.).
All API requests require your key in the Authorization
header using the Bearer key format:
Test the API with this curl command by replacing YOUR_API_KEY
with your actual key: