API keys
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:- Rate Limits: Controls the number of requests allowed within a specified time period.
- Credit Quota: Defines the maximum usage credits available for your account.
Making Requests
All API requests require your key in theAuthorization
header using the Bearer key format:
Example API Request
Test the API with this curl command by replacingYOUR_API_KEY
with your actual key: