Summary
- Create Deployment requests now require only
nameandworkspaceId. The server resolves infrastructure from Workspace defaults (or auto-selects when the Organization has a single non-shared cluster), infers the Deploymenttypefrom the resolved cluster, and applies defaults for runtime version, executor, scheduler size, and related fields. This reduces the create Deployment API from roughly 15 required fields down to 2. - Added
defaultClusterId,defaultCloudProvider, anddefaultRegiononWorkspaceso Workspace admins can pre-configure target infrastructure for new Deployments.defaultClusterIdis mutually exclusive withdefaultCloudProvideranddefaultRegion. - Added
GET /organizations/{organizationId}/deployments/{deploymentId}/logsandGET /users/selfendpoints. - Added
hasAllowedIpAddressRangesandshouldEnforceDedicatedClustersas required properties on theOrganizationschema. - Added
workspaceIdanddeploymentIdfilters toGET /organizations/{organizationId}/teams.
Added
-
Endpoints
GET /organizations/{organizationId}/deployments/{deploymentId}/logs: Get logs for an Astro Deployment. Supports filtering by log source (scheduler,triggerer,worker,webserver,dag-processor,apiserver), time range, text search, and pagination.GET /users/self: Get the authenticated user’s profile, roles, invites, and feature flags. Supports an optionalcreateIfNotExistquery parameter.
-
Schemas
CreateDeploymentInstanceSpecRequestau: Integer. Astro unit allocation for the Deployment pod. Minimum5, maximum24. Optional.replicas: Integer. Number of pod replicas. Minimum1, maximum4. Optional.
UpdateDeploymentInstanceSpecRequestau: Integer. Astro unit allocation for the Deployment pod. Minimum5, maximum24. Required.replicas: Integer. Number of pod replicas. Minimum1, maximum4. Required.
DeploymentLog- Required:
limit,maxNumResults,offset,resultCount,results,searchId. results: Array ofDeploymentLogEntry.
- Required:
DeploymentLogEntry- Required:
raw(string),source(enum:scheduler,webserver,triggerer,worker,dag-processor,apiserver),timestamp(number).
- Required:
SelfUser- Required:
avatarUrl,createdAt,fullName,id,status,updatedAt,username. - Also includes
featureFlags,invites,isIdpManaged,organizationId, androles.
- Required:
SelfUserFeatureFlag,SelfUserInvite,SelfUserRole,SelfUserRoleScope: Supporting schemas forSelfUser.UpdateWorkerQueueRequest: Used by theworkerQueuesarray onUpdateDedicatedDeploymentRequest,UpdateHybridDeploymentRequest, andUpdateStandardDeploymentRequest. Required fields:isDefault,maxWorkerCount,minWorkerCount,name,workerConcurrency.
-
Properties
CreateWorkspaceRequestandUpdateWorkspaceRequest:defaultCloudProvider(enum:AWS,AZURE,GCP),defaultClusterId, anddefaultRegion. Workspace admins use these fields to pre-configure target infrastructure for new Deployments. When a create Deployment request omitsclusterId,cloudProvider, andregion, the server uses these Workspace defaults.defaultClusterIdis mutually exclusive withdefaultCloudProvideranddefaultRegion.Organization:hasAllowedIpAddressRanges(boolean, required) indicating whether the Organization has at least one allowed IP address range configured, andshouldEnforceDedicatedClusters(boolean, required).UpdateOrganizationRequest:shouldEnforceDedicatedClusters(boolean).Workspace:defaultCloudProvider,defaultClusterId, anddefaultRegion(strings) reflecting the configured defaults.
-
Query parameters
GET /organizations/{organizationId}/teams:workspaceIdanddeploymentIdfilter the response to Teams with a role in the specified Workspace or Deployment.
Changed
- Removed required fields on create Deployment requests. When a field is omitted, the server applies a default. The only remaining required fields are
nameandworkspaceId.