# AMC Application Manager API Manage alerts, deployments, diagnostics, logs, and schedulers for Runtime Fabric and CloudHub 2.0 applications. - **Version:** 2.1.3 - **Category:** Management - **OpenAPI Spec:** [api.yaml](https://dev-portal.mulesoft.com/apis/amc-application-manager/api.yaml) ## Servers - `https://anypoint.mulesoft.com/amc/application-manager/api/v2` — AMC Application Manager API - `https://{region}.anypoint.mulesoft.com/amc/application-manager/api/v2` — Regional AMC Application Manager API - `https://{region}.platform.mulesoft.com/amc/application-manager/api/v2` — Regional AMC Application Manager API ## Operations (23) ### PUT /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/schedulers/{flowName} **Operation ID:** `updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlowname` Updates the scheduler configuration for the specified flow name. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `flowName` | query | The flowName to identify the target resource. | required | ### DELETE /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/schedulers/{flowName} **Operation ID:** `deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlowname` Removes the custom scheduler configuration for the given flow name in the deployment and restores the default configuration. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `flowName` | query | The flowName to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeployments` Retrieves a list of deployments for the specified query. If the query returns no results, then an empty list is returned. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentQuery` | query | The deploymentQuery query parameter. | optional | ### POST /organizations/{organizationId}/environments/{environmentId}/deployments **Operation ID:** `createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeployments` Deploys a new application with the provided data. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | ### POST /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/schedulers/{flowName}/run **Operation ID:** `createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulersByFlownameRun` Triggers a request to executes immediately the scheduler for the given flow name. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `flowName` | query | The flowName to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/alerts **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlerts` Retrieves Cloudhub 2.0 alerts Retrieves Cloudhub 2.0 alerts **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `offset` | query | Pagination offset or page number for results. | optional | | `limit` | query | Maximum number of results to return per page. | optional | ### POST /organizations/{organizationId}/environments/{environmentId}/alerts **Operation ID:** `createOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlerts` Creates a Cloudhub 2.0 alert Creates a Cloudhub 2.0 alert **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId} **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid` Retrieves a single deployment with the provided id. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### PATCH /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId} **Operation ID:** `patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid` Updates an existing deployment with the provided details. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### DELETE /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId} **Operation ID:** `deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentid` Deletes the specified deploymentId. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/schedulers **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulers` Retrieves a list of schedulers for the specified deployment. If this path contains no data, then an empty list is returned. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### PATCH /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/schedulers **Operation ID:** `patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSchedulers` Disables or enables a list of schedulers in a deployment. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/alerts/{alertId} **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid` Retrieves a single Cloudhub 2.0 alert Retrieves a single Cloudhub 2.0 alert **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `alertId` | query | The alert ID to identify the target resource. | required | ### PATCH /organizations/{organizationId}/environments/{environmentId}/alerts/{alertId} **Operation ID:** `patchOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid` Updates a Cloudhub 2.0 alert Updates a Cloudhub 2.0 alert **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `alertId` | query | The alert ID to identify the target resource. | required | ### DELETE /organizations/{organizationId}/environments/{environmentId}/alerts/{alertId} **Operation ID:** `deleteOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertid` Deletes a Cloudhub 2.0 alert Deletes a Cloudhub 2.0 alert **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `alertId` | query | The alert ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/specs **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecs` Retrieves a list of deployment version specs for the specified deploymentId. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `limit` | query | The number of specs the service can retrieve. | optional | ### GET /organizations/{organizationId}/environments/{environmentId}/alerts/{alertId}/history **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidAlertsByAlertidHistory` Retrieves a Cloudhub 2.0 alert history record Retrieves a Cloudhub 2.0 alert history record **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `alertId` | query | The alert ID to identify the target resource. | required | ### POST /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/replicas/{replicaId}/diagnostics **Operation ID:** `createOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidReplicasByReplicaidDiagnostics` Trigger a thread dump diagnosis for a specific replica of a deployment **Parameters:** | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `replicaId` | query | The replica ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/specs/{specificationId}/logs **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecsBySpecificationidLogs` Fetch logs from the Log Aggregator V2 API. Fetch logs from the Log Aggregator V2 API. **Parameters:** | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `specificationId` | query | Specification Id | required | | `search` | query | Search or filter expression to narrow results. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/specs/{specificationId}/logs/file **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidSpecsBySpecificationidLogsFile` Download log entries matching the search as text attachment, without pagination. Download log entries matching the search as text attachment, without pagination. **Parameters:** | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `specificationId` | query | Specification Id | required | | `search` | query | Search or filter expression to narrow results. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/diagnostics **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidDiagnostics` Retrieve a list of all executed actions related to the specified organization id, environment id and deployment id. **Parameters:** | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | ### GET /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/diagnostics/{actionId}/file **Operation ID:** `getOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidDiagnosticsByActionidFile` Fetch the thread dump report of a specific diagnosis action. **Parameters:** | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required | | `actionId` | query | The action ID to identify the target resource. | required | ### PUT /organizations/{organizationId}/environments/{environmentId}/deployments/{deploymentId}/upgradedata/trafficswitching **Operation ID:** `updateOrganizationsByOrganizationidEnvironmentsByEnvironmentidDeploymentsByDeploymentidUpgradedataTrafficswitching` upsert the percentage in which the traffic is switched to the CH2 deployment. **Parameters:** | `Authorization` | query | Bearer token for API authentication. | required | | `organizationId` | query | The organization ID to identify the target resource. | required | | `environmentId` | query | The environment ID to identify the target resource. | required | | `deploymentId` | query | The deployment ID to identify the target resource. | required |