Overview
The Sully.ai Alpha API uses the same authentication system as our stable API. All requests must include a valid API key in the Authorization header.Alpha API Notice: This is an experimental version of our API. Features may change without notice and should not be used in production environments without careful consideration.
API Key Authentication
All Alpha API requests require authentication using your API key:Getting Your API Key
- Sign up for a Sully.ai account at dashboard.api.sully.ai
- Navigate to the API Keys section in your dashboard
- Generate a new API key or use an existing one
- Copy the key and store it securely
Keep your API key secure: Never expose your API key in client-side code or public repositories. Store it as an environment variable or in a secure configuration file.
Base URL
The Alpha API uses the same base URL as our stable API:/alpha/
to distinguish them from stable endpoints.
Example Request
Here’s how to make an authenticated request to the Alpha API:cURL
JavaScript
Python
Error Responses
401 Unauthorized
If your API key is missing or invalid, you’ll receive a 401 error:403 Forbidden
If your account doesn’t have access to alpha features:Rate Limiting
Alpha API endpoints may have different rate limits than stable endpoints:- Medical Consensus: Limited per day based on your plan
- Note Templates: Limited per request based on complexity
- Rate limit headers: Check response headers for current limits
- Exceeded limits: Results in 429 Too Many Requests
Best Practices
Environment Variables
Store your API key as an environment variable:Error Handling
Always handle authentication errors gracefully:Testing
Test your authentication with a simple request:Alpha API Features
Current alpha features include:- Medical Consensus: Get expert medical opinions on clinical queries
- Note Templates: Generate note templates from provider notes
- Advanced Analytics: Enhanced insights and reporting (coming soon)
- AI-Powered Recommendations: Intelligent suggestions for clinical workflows (coming soon)
Support
For alpha API issues:- Email: support@sully.ai
- Include “Alpha API” in your subject line
- Provide your account ID and request details
Migration to Stable
When alpha features graduate to stable:- We’ll announce the migration timeline
- Endpoints will be available at both
/alpha/
and stable paths - You’ll have time to update your integration
- Alpha endpoints will eventually be deprecated