JUMP TOCAST.AI API documentationAuthAPILoginpostLogin callbackgetCurrent login session infogetLogoutpostSAML flow callbackpostBillingAPISingle sign-on of ChargeBee portal.getRetrieves current user's subscription details.getCheckout current user's subscription.getAutoscalerAPIGet a Kubernetes agent install scriptgetGet problematic workloadsgetGet rebalanced workloadsgetList cluster rebalancing plansgetGenerate a cluster rebalancing planpostGet a rebalancing plangetTrigger the rebalancing planpostGet cluster settingsgetGet cluster workloadsgetAuditAPIListAuditEntries returns audit entries for given cluster.getAuthTokenAPILists user auth tokens.getCreateAuthToken creates a new api auth token.postDeletes auth token.deleteRetrieves the specified auth token.getUpdates the specified auth token.postChatbotAPIGet a list of questions asked to the chatbot.getAsk a question to the chatbot.postProvide feedback for the question.postStart a new conversation with the chatbot. It must be called before asking any questions. You have to wait until the conversation returns READY status before asking questions.postWorkloadOptimizationAPI(ALPHA) Returns a list of workloads for the given cluster.get(ALPHA) Removes a workload from CAST AI. This does not delete the workload from the cluster.delete(ALPHA) Returns a workload by a given id.get(ALPHA) Updates a CAST AI managed workload.put(ALPHA) Applies workload recommendation configuration for given workload.post(ALPHA) Returns workload-autoscaler installation command.get(ALPHA) Returns workload-autoscaler installation script.getCostReportAPILists allocation groups.getCreates an allocation group for custom report.postGets allocation group summary for datatransfer costs.getGets cost allocation group summary.getGets workloads of datatransfer cost allocation group.getGets workloads of cost allocation group.getDeletes an allocation group.deleteUpdates an allocation group for custom report.putGets workloads datatransfer costsgetGets workloads datatransfer costspostGets cluster efficiency report data.getGets workload grouping config.getUpserts workload grouping config.putGets cluster cost history over time.getGets cluster workload efficiency report for a workload by name.getGets single workload cost report.getGets single workload cost report.getGets cluster workload efficiency report for a workload by name.getGets cluster cost report data.getGets cluster resource usage.getGets cluster workload efficiency report for the workloads.postGets cluster savings report.getGets current details about the cluster.getGets cluster workloads cost report.getReturns scrapable workload metrics in Prometheus format.getGets cluster workload efficiency report.getGets the kubernetes labels applied to the workloads in the cluster.getGets current details about all clusters of organization.getGets cost report data over all clusters of user organization.getGets cluster cost history over time.getGets cluster cost report data.getGets unscheduled pods in the cluster.getReturns single command for external cluster with egressd installation script.getGets the available savings estimation report. Current cluster state is evaluated and a report is generated based on the workloads and nodes running in your cluster.getReturns egressd installation script template.getInventoryBlacklistAPIGet blacklist configurationgetAdd to blacklistpostRemove from blacklistpostClusterActionsAPIPolls for pending cluster actions.getIngest cluster controller logs.postAck completed cluster action.postEvictorAPIGets evictor advanced configuration for the target cluster.getUpsert cluster's evictor advanced configuration.postNodeTemplatesAPIFilter instance typespostList node templatesgetCreate node templatepostDelete node templatedeleteUpdate node templateputMetricsAPI(BETA) Get cluster cpu usage metrics.get(BETA) Get cluster metrics summary gauges.get(BETA) Get cluster memory usage metrics.get(BETA) Prometheus raw metrics.getNodeConfigurationAPILists cluster's node configurations.getCreates new node configuration for a specific cluster.postReturns suggested configuration for the clustergetDeletes node configuration of a specific cluster.deleteGet cluster's node configuration.getUpdates configuration of a specific cluster.postMarks node configuration as default.postPoliciesAPIGets all viable settings to be used for the Node Constraints feature.getGets policies configuration for the target cluster.getUpsert cluster's policies configuration.putScheduledRebalancingAPIList rebalancing jobsgetCreate rebalancing jobpostDelete rebalancing jobdeleteGet rebalancing jobgetUpdate rebalancing jobputPreview rebalancing schedulepostList rebalancing schedulesgetCreate rebalancing schedulepostEdit rebalancing scheduleputDelete rebalancing scheduledeleteGet rebalancing schedulegetList available rebalancing Time ZonesgetExternalClusterAPILists clusters for current user's organization.getRegisters new external cluster.postDeletes the cluster from CAST console. It won't delete the actual cluster from cloud provider's console.deleteGets the details of a specific cluster.getUpdates configuration of a specific cluster.postDelete AWS cross role user for assume role.deleteReturn AWS cross role user for assume role.getCreate AWS cross role user for assume role.postReturns AWS user arn used for assume role.getReturns single command for external cluster cleanup scriptgetReturns single command for external cluster credentials onboarding.getDisconnects cluster by removing all CAST dependencies from cloud provider's account.postHandles cloud spot interruption events for a cluster.postLists the nodes for a cluster.getAdds a node to the cluster.postDeletes the specified cluster node.deleteGets a single node by ID.getDrains the specified cluster node.postReconciles cluster.postReturns cluster token that is used for agent and cluster controller.postReturns cleanup script for the specified provider.getReturns credentials onboarding script for the specified provider.getOperationsAPIGetOperation returns the operation object by ID.getNotificationAPIListNotifications returns notification entries for given organization.getAckNotifications acknowledges multiple notifications for the given organizationpostListWebhookConfig returns all available webhook categories and subcategoriesgetListWebhookConfig returns all existing webhook configurations for the given organizationgetCreateWebhookConfig creates a new webhook configuration for the given organizationpostDeleteWebhookConfig an existing webhook configurationdeleteGetWebhookConfig an existing webhook configuration for the given organizationgetUpdateWebhookConfig an existing webhook configuration for the given organizationputGetNotification returns an existing notification for the given organizationgetInventoryAPISync cluster resourcespostGet reservationsgetAdd or update reservationpostGet reservations balancegetOverwriteReservationspostDelete reservationdeleteGet organization used resourcesgetUsageAPIGetUsageReport returns resource usage report.getGetUsageSummary returns resource usage summary for given period. If no parameters specified the summary will be calculated for previous 3 monthsgetInsightsAPIGet status of security agentspostGet latest best practices report.getGet resources for provided checks and filtering POST due to possible amount of parameterspostGet single check information and objects that matched the rule in the last best practices report.getEnforce linter rule as policy.postDelete policy enforcement.deleteRetrieve a list of possible filters for best practices report.getSchedule best practices scan for cluster.postGet latest best practices report summary.getCreate exceptions to hide resources from overview and reportspostGet checks that have not passed but are exceptedgetDelete exceptions to show excepted resourcespostGet a list of container images for organizationgetGet a list of possible filters for images endpointgetGet container image vulnerability summary for organizationgetGet details for container image by taggetGet container image digests for organization by tag idgetGet a list of image packagesgetGet cluster resources for container imagegetGet a list of image vulnerabilitiesgetGet image vulnerability for a specific packagegetGet overview of best practices checks.getGet scans overview summary.getGet overview of vulnerability scan checks.getGet latest vulnerabilities report.getGet list of vulnerabilities for object.getGet list of resources for object.getGet list of vulnerabilities for packagegetGet list of vulnerable packages for object.getSchedule vulnerabilities scan for cluster.postGet latest vulnerabilities report summary.getGet status of security agentgetIngest log sent by Security AgentpostAgent calls this endpoint to sync state for scanned images.postAgent posts telemetry data to this endpoint.postUsersAPIList organizationsgetCreate new organizationpostGet organizationgetUpdate organizationpostDelete organizationdeleteGet organization usersgetLink user with organizationpostRemove user from organizationdeleteUpdate user role in the organizationputRetrieve profile of current usergetUpdate profilepostCreate new invitationspostList organization's pending invitationsgetClaim invitationpostDelete invitationdeleteGet a list of questions asked to the chatbot.get https://api.cast.ai/v1/chatbot/questions