API
Quickstart
🚀 API v1 is now live! We're continuously enhancing and expanding API capabilities for all models.
How to Get Your API Token
- From the sidebar, select ➜
Developer - Navigate to the
API Tokenssection - Click ➜
Create - Give your token a descriptive name (e.g., "Production Server")
- Copy the token immediately (it's only shown once)
- Store it securely in your environment variables
Using Your Token
Include the token in the Authorization header of all requests:
Authorization: Bearer YOUR_API_TOKEN
Security Best Practices
- Never commit tokens to version control
- Use environment variables (e.g., BABYSEA_API_TOKEN)
- Rotate tokens regularly
- Use different tokens for development and production
- Revoke tokens immediately if compromised