Repository navigation
v0.1.13 - Update Platform API contract (#37)
🌟 Summary
Ultralytics Platform SDK v0.1.13 adds API support for dataset auto-annotation workflows, improves typed prediction and project metadata responses, and enables safer automated SDK publishing. 🚀
📊 Key Changes
- Dataset auto-annotation support: Added synchronous and asynchronous Python SDK methods to:
- Check annotation job status with
datasets.batch() - Start an auto-annotation run with
datasets.create_batch() - Cancel an active run or dismiss its completed summary with
datasets.delete_batch()
- Check annotation job status with
- Typed batch-job responses: Added structured response types for:
- Active-job progress and start time
- Completed, failed, or stopped runs
- Processed images, generated annotations, and predicted classes
- Job IDs and cancellation or dismissal results
- Configurable inference settings: Auto-annotation runs accept a model URI plus optional confidence and IoU thresholds, including support for YOLO26 model references. 🎯
- Improved prediction data: Prediction responses can now include per-result confidence values for local threshold previews.
- Expanded billing metadata: Added
annotationas a recognized billing-entry category. - Additional project metadata: API responses can include project icon color, letter, or image information.
- Automated SDK releases: Updated the publishing workflow so pushes to the canonical repository’s
mainbranch can publish generated version bumps, while forks and non-main branches remain blocked. 🔐 - Version and generation updates: Synchronized the OpenAPI contract and regenerated the typed Python SDK as version 0.1.13, with CI validating the generated package before release.
🎯 Purpose & Impact
- Faster dataset preparation: Users can automatically label previously unlabeled images, reducing manual annotation effort. 🏷️
- Better workflow visibility: Progress and final-run details make long-running annotation jobs easier to monitor and manage.
- Safer operations: Existing labels remain unchanged, while active runs can be cancelled and completed runs can be dismissed cleanly.
- More reliable integrations: Typed responses help Python developers discover fields earlier and reduce errors when consuming API results.
- Improved application experiences: Confidence arrays support custom preview filtering, and project icon metadata enables richer user interfaces.
- More dependable releases: Deterministic SDK generation and CI checks reduce the chance of mismatches between the live API contract and the published Python package. ✅
What's Changed
- Allow automated SDK releases by @glenn-jocher in #36
- Update Platform API contract by @UltralyticsAssistant in #37
Full Changelog: v0.1.11...v0.1.13