✅ v0.2 Release Preparation: - Update version to 0.2.0 in pyproject.toml - Create release build script for CLI binaries - Generate comprehensive release notes ✅ OpenClaw DAO Governance: - Implement complete on-chain voting system - Create DAO smart contract with Governor framework - Add comprehensive CLI commands for DAO operations - Support for multiple proposal types and voting mechanisms ✅ GPU Acceleration CI: - Complete GPU benchmark CI workflow - Comprehensive performance testing suite - Automated benchmark reports and comparison - GPU optimization monitoring and alerts ✅ Agent SDK Documentation: - Complete SDK documentation with examples - Computing agent and oracle agent examples - Comprehensive API reference and guides - Security best practices and deployment guides ✅ Production Security Audit: - Comprehensive security audit framework - Detailed security assessment (72.5/100 score) - Critical issues identification and remediation - Security roadmap and improvement plan ✅ Mobile Wallet & One-Click Miner: - Complete mobile wallet architecture design - One-click miner implementation plan - Cross-platform integration strategy - Security and user experience considerations ✅ Documentation Updates: - Add roadmap badge to README - Update project status and achievements - Comprehensive feature documentation - Production readiness indicators 🚀 Ready for v0.2.0 release with agent-first architecture
1.6 KiB
1.6 KiB
title, description
| title | description |
|---|---|
| API Authentication | Understanding and implementing API authentication |
API Authentication
All AITBC API endpoints require authentication using API keys.
Getting API Keys
Production
- Visit the AITBC Dashboard
- Create an account or sign in
- Navigate to API Keys section
- Generate a new API key
Testing/Development
For integration tests and development, these test keys are available:
${CLIENT_API_KEY}- For client API access${MINER_API_KEY}- For miner registrationtest-tenant- Default tenant ID for testing
Using API Keys
HTTP Header
X-API-Key: your_api_key_here
X-Tenant-ID: your_tenant_id # Optional for multi-tenant
Environment Variable
export AITBC_API_KEY="your_api_key_here"
SDK Configuration
from aitbc import AITBCClient
client = AITBCClient(api_key="your_api_key")
Security Best Practices
- Never commit API keys to version control
- Use environment variables in production
- Rotate keys regularly
- Use different keys for different environments
- Monitor API key usage
Rate Limits
API requests are rate-limited based on your plan:
- Free: 60 requests/minute
- Pro: 600 requests/minute
- Enterprise: 6000 requests/minute
Error Handling
from aitbc.exceptions import AuthenticationError
try:
client.jobs.create({...})
except AuthenticationError:
print("Invalid API key")
Key Management
View Your Keys
aitbc api-keys list
Revoke a Key
aitbc api-keys revoke <key_id>
Regenerate a Key
aitbc api-keys regenerate <key_id>