Repository navigation
Releases: Dataframe-Consulting/ai-spine-sdk-python
Releases · Dataframe-Consulting/ai-spine-sdk-python
Release list
Release v2.3.1
AI Spine SDK v2.3.1
This release includes various improvements and bug fixes.
See CHANGELOG.md for details.
Full Changelog: v2.3.0...v2.3.1
Release v2.3.0
[2.3.0] - 2025-01-14
Added
- New API key management methods for user administration (no authentication required):
check_user_api_key()- Check if a user has an API key and get its detailsgenerate_user_api_key()- Generate or regenerate API key for a userrevoke_user_api_key()- Revoke (delete) a user's API key
- Support for unauthenticated API requests via
auth_requiredparameter in_request()method - New example script
api_key_management.pydemonstrating API key operations - Comprehensive test coverage for all new API key management methods
Changed
- Enhanced authentication system to support manual API key generation
- API key management endpoints do not require Bearer token authentication
- Updated base URL to
https://ai-spine-api.up.railway.appin examples - Updated documentation to clarify authentication requirements
Full Changelog: v2.2.2...v2.3.0
Release v2.2.2
[2.2.2] - 2025-01-13
Added
- Dynamic changelog extraction for GitHub releases
- CHANGELOG.md for tracking version history
Changed
- Simplified CHANGELOG format (removed boilerplate)
- GitHub Actions workflow now uses CHANGELOG.md for release notes
Full Changelog: v2.2.1...v2.2.2
Release v2.2.1
AI Spine SDK v2.2.1
Breaking Changes
- API key is now required (no default value)
- API key must start with 'sk_' prefix
- New exception: InsufficientCreditsError for credit management
New Features
- Added
get_current_user()method to get user info and credits - Added
check_credits()method to check remaining credits - Better error handling for 401, 403, and 429 status codes
- Support for custom base_url with trailing slash handling
Installation
pip install ai-spine-sdk==2.2.1Quick Start
from ai_spine import Client
# Initialize with your API key
client = Client(api_key="sk_your_api_key_here")
# Check your credits
credits = client.check_credits()
print(f"Remaining credits: {credits}")
# Execute a flow
result = client.execute_flow("flow_id", {"data": "value"})Full Changelog: https://github.com/Dataframe-Consulting/ai-spine-sdk-python/commits/v2.2.1