Migrate to v1
This guide helps you migrate from the Astro API v1beta1 to v1. The v1 API consolidates the previously separate IAM and Platform APIs into a single endpoint with improved stability and support.
Key changes
API consolidation
The two separate v1beta1 APIs are now unified:
Before (v1beta1):
- IAM API:
https://api.astronomer.io/iam/v1beta1/ - Platform API:
https://api.astronomer.io/platform/v1beta1/
After (v1):
- Unified API:
https://api.astronomer.io/v1/
Unsupported endpoints
The following endpoints are currently not supported in v1:
-
Alert endpoints:
POST /organizations/{organizationId}/alertsGET /organizations/{organizationId}/alertsGET /organizations/{organizationId}/alerts/{alertId}POST /organizations/{organizationId}/alerts/{alertId}DELETE /organizations/{organizationId}/alerts/{alertId}
-
Notification channel endpoints:
POST /organizations/{organizationId}/notification-channelsGET /organizations/{organizationId}/notification-channelsGET /organizations/{organizationId}/notification-channels/{notificationChannelId}POST /organizations/{organizationId}/notification-channels/{notificationChannelId}DELETE /organizations/{organizationId}/notification-channels/{notificationChannelId}
If your integration relies on these endpoints, contact Astronomer Support for guidance on alternative approaches.
Migration steps
Step 1: Update base URLs
Update all API calls to use the new v1 base URL:
Step 2: Update endpoint paths
All endpoints that previously used the IAM or Platform base URLs now use the unified v1 base URL:
Example: List users
Example: List deployments
Step 3: Update alert and notification channel logic
Alert and notification channel APIs currently are not supported in v1. If your integration uses these endpoints, you’ll need to update your workflows:
Step 4: Test your integration
Before fully migrating to production:
- Update your development/staging environment to use v1 endpoints
- Test all API calls to ensure they work as expected
- Verify authentication still works with the new base URL
- Check error handling for any changes in response formats
- Monitor for any unexpected behavior
Step 5: Update production
After testing is complete, update your production environment to use the v1 API.
Examples
v1beta1
v1
If you have questions or need assistance migrating to v1, reach out to Astronomer Support.