Secure your API requests with proper authentication and key management
Important: Save your API key securely. It cannot be retrieved after initial creation.
Include your API key in the Authorization header:
curl -X POST https://seer.ansrstudio.com/api/monitoring \
-H "Authorization: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"pipeline_name": "ETL", "status": "success"}'import requests
headers = {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
}
data = {
"pipeline_name": "ETL Pipeline",
"status": "success"
}
response = requests.post(
"https://seer.ansrstudio.com/api/monitoring",
headers=headers,
json=data
)from seerpy import SEER
# API key is passed during initialization
seer = SEER(api_key="YOUR_API_KEY")
# No need to manually add headers
seer.log_success("ETL Pipeline", metadata={...})Security Alert: If you accidentally expose an API key, revoke it immediately from the dashboard and generate a new one.
Production Key
For live production workloads
Staging Key
For pre-production testing
Development Key
For local development and testing
CI/CD Key
For automated testing pipelines
Possible causes:
You've exceeded 100 requests per minute. Implement exponential backoff or reduce request frequency.