Overview
Statistics
44
Operations
0
Skills
Management
Category
Manage and monitor a locally running Mule runtime instance through the Mule Agent REST API.
Servers
-
http://localhost:9999/mule
Authentication & Security
-
bearerAuth http
Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login
-
clientAuth oauth2
OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token
Get agent status getAgent
GET
Try it out
Custom Query Parameters
Custom Headers
Endpoint to validate the Mule Agent is listening.
Response
Successful operation.
Examples
application/json
{}
Upgrade Mule Agent plugin upgradeAgent
PUT
Try it out
Custom Query Parameters
Custom Headers
Request Body application/octet-stream
<p>Upgrades the Mule Agent plugin with the provided .jar file.</p> <p>Upgrading the Agent will only install the the jar passed in the request and won't change any configuration</p> <p>Since v2.2.0 the configuration of Authentication Proxy and MCM endpoints was changed so in order to reconect the server further configuration would be needed</p>
Request Body
octet-streamResponse
Request accepted for processing.
Get agent configuration getAgentConfiguration
GET
Try it out
Custom Query Parameters
Custom Headers
Returns the full configuration of the Mule Agent.
Response
Successful operation.
Examples
application/json
{}
List agent components listAgentComponents
GET
Try it out
Custom Query Parameters
Custom Headers
Returns list of components that contain the ids and status of the different external message handlers, internal message handler and services in the Mule Agent.
Response
Successful operation.
Examples
application/json
{}
Get component configuration getComponentById
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Returns a JSON representing the component's configuration.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
Response
Successful operation.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Examples
application/json
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
application/text
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
Update component configuration updateComponent
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Changes the configuration of the component by overriding the full configuration with the
one passed in the JSON.
one passed in the JSON.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
Request Body
jsonserviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
Response
Successful operation.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Examples
application/text
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
application/json
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
Patch component configuration patchComponent
PATCH
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Changes the configuration of the component by overriding the values of the properties passed
in the JSON.
in the JSON.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
Request Body
jsonconfigurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Response
Successful operation.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Examples
application/text
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
application/json
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
Enable component enableComponent
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Enables a service.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
Response
The component information.
Examples
application/json
{}
application/text
{}
Disable component disableComponent
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Disables a service.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
Response
The component information.
Examples
application/json
{}
application/text
{}
Update component config for application updateComponentForApp
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Completely changes the configuration of the service by overriding the configuration provided in the agent descriptor with the properties passed in the JSON. If the body is not sent in the request the service will respond with the current information.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
applicationName *:
string
The applicationName to identify the target resource.
Request Body
jsonserviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
Response
Successful operation.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Examples
application/text
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
application/json
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
Patch component config for application patchComponentForApp
PATCH
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Partially changes the configuration of the service for a given application by overriding the configuration provided in the agent descriptor with the properties passed in the JSON. If the body is not sent in the request the service will respond with the current information.
Path Parameters
componentId *:
string
The component ID to identify the target resource.
Related Operations:
applicationName *:
string
The applicationName to identify the target resource.
Request Body
jsonserviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
Response
Successful operation.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
configurableFields *:
array
The name of the field in the configurable component class.
injectedHandlers:
array
Represents a handler that has been injected into a service.
serviceHandlerTypes:
array
The current value of the field.
Examples
application/text
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
application/json
{
"configurableFields": [
{
"id": "string",
"type": "string"
}
],
"injectedHandlers": [
{
"name": "string",
"path": "string",
"type": "string"
}
],
"serviceHandlerTypes": [
"string"
]
}
Perform runtime action performAction
PUT
Try it out
Custom Query Parameters
Custom Headers
Request Body application/json
Performs the action described by the request on the Runtime where the Mule Agent is running on.
Request Body
jsonreason *:
string
The reason of the action.
actionType *:
string
The type of Action to be performed on the runtime. <ul> <li>RESTART: Will restart the runtime.</li> <li>SHUTDOWN: Will shutdown the runtime.</li> <li>RENEW_CERTIFICATE: Will renew the runtime certificate ${mule_home}/conf/mule-agent.jks but only if it hasn't expired.</li> </ul>
id *:
integer
description *:
string
Description of the action
status *:
string
Represents the status of a Server Action
Response
Action accepted.
Examples
application/json
{}
application/text
{}
List domains listDomains
GET
Try it out
Custom Query Parameters
Custom Headers
Returns all existing domains in Mule.
Response
Successful operation.
Examples
application/json
{}
Get domain details getDomain
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Returns all the details of the domain requested.
Path Parameters
domainName *:
string
The domainName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
application/text
{}
Deploy or redeploy domain deployDomain
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Deploys or redeploys a domain in Mule
Path Parameters
domainName *:
string
The domainName to identify the target resource.
Request Body
jsonResponse
Successful operation.
Examples
application/json
{}
application/text
{}
Undeploy domain undeployDomain
DELETE
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Undeploys a domain from Mule.
Path Parameters
domainName *:
string
The domainName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
application/text
{}
Restart domain restartDomain
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Restarts a domain from Mule.
Path Parameters
domainName *:
string
The domainName to identify the target resource.
Response
Request accepted for processing.
Examples
application/json
{}
application/text
{}
List applications listApplications
GET
Try it out
Custom Query Parameters
Custom Headers
Returns all existing applications in Mule.
Response
The list of applications. The parameter state may have the values CREATED, INITIALISED, STARTED, STOPPED or DESTROYED.
Examples
application/json
{}
Get application details getApplication
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Gets a particular application.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
application/text
{}
Deploy or redeploy application deployApplication
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Redeploys/creates an application to Mule using the name and file passed in the POST body.
For application/json and multipart/form-data request configures the application properties in the ${mule_home}/conf/${application-name}.yml file.
For application/json and multipart/form-data request configures the application properties in the ${mule_home}/conf/${application-name}.yml file.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Request Body
jsonResponse
The request is accepted and the application is going to be deployed/redeployed.
Examples
application/json
{}
Undeploy application undeployApplication
DELETE
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Undeploys an application from Mule.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Request accepted for processing.
Examples
application/json
{}
Stop application stopApplication
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Stops an application.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
Start application startApplication
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Starts an application.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
Restart application restartApplication
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Retarts an application.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
List application flows listApplicationFlows
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Gets application flows.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
Stop application flow stopApplicationFlow
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Stop an application flow.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
flowName *:
string
The flowName to identify the target resource.
Response
Request accepted for processing.
Start application flow startApplicationFlow
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Start an application flow.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
flowName *:
string
The flowName to identify the target resource.
Response
Request accepted for processing.
Get cluster info getClusterInfo
GET
Try it out
Custom Query Parameters
Custom Headers
Retrieves the clustering information of this Mule instance.
Response
Successful operation.
Examples
application/json
{}
application/text
{}
Join cluster joinCluster
POST
Try it out
Custom Query Parameters
Custom Headers
Request Body application/json
Adds this Mule instance to a cluster with the information provided in the request.
Request Body
jsonResponse
Successful operation.
Examples
application/json
{}
Leave cluster leaveCluster
DELETE
Try it out
Custom Query Parameters
Custom Headers
Removes this Mule instance from the cluster it belongs to.
Response
Operation completed successfully with no content returned.
List cluster members listClusterMembers
GET
Try it out
Custom Query Parameters
Custom Headers
Retrieves the members of the cluster this Mule instance belongs to.
Response
Successful operation.
Examples
application/json
{}
Check application readiness checkApplicationReady
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Health Check Endpoint to validate if an application is running or not.
Path Parameters
applicationName *:
string
The applicationName to identify the target resource.
Response
Application Running OK
Get domain log level getDomainLogLevel
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Retrieves the current log level that has the domain for a package scope.
Path Parameters
domainName *:
string
The domainName to identify the target resource.
scope *:
string
The scope to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
Set domain log level setDomainLogLevel
POST
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Sets the log level on a package scope for the domain passed on the request.
Path Parameters
domainName *:
string
The domainName to identify the target resource.
scope *:
string
The scope to identify the target resource.
Request Body
jsonResponse
Successful operation.
Get application log level getApplicationLogLevel
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Retrieves the current log level of a package scope in an application.
Path Parameters
appName *:
string
The appName to identify the target resource.
packageScope *:
string
The packageScope to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
Set application log level setApplicationLogLevel
POST
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Sets the log level on a package scope for the application passed on the request.
Path Parameters
appName *:
string
The appName to identify the target resource.
packageScope *:
string
The packageScope to identify the target resource.
Request Body
jsonResponse
Successful operation.
List monitored beans listMonitoredBeans
GET
Try it out
Custom Query Parameters
Custom Headers
Retrieves all the beans currently being tracked by the monitoring service. Not available on PCE.
Response
Successful operation.
Examples
application/json
{}
Add monitored beans addMonitoredBeans
POST
Try it out
Custom Query Parameters
Custom Headers
Request Body application/json
Adds a list of beans to those currently being tracked the monitoring service. Not available on PCE.
Request Body
jsonResponse
Returns empty response.
Remove monitored beans removeMonitoredBeans
DELETE
Try it out
Custom Query Parameters
Custom Headers
Request Body application/json
Removes a list of beans of those currently being tracked the monitoring service. The beans to delete that are send in the json body must be identicaly the same as the registered ones. Not available on PCE.
Request Body
jsonResponse
Successful operation.
List server properties listProperties
GET
Try it out
Custom Query Parameters
Custom Headers
Retrieves the server properties that are currently being set by the Mule Agent server properties.
Response
Successful operation.
Examples
application/json
{}
Set server properties setProperties
POST
Try it out
Query Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Sets the given properties in the ${mule_home}/conf/wrapper.conf file.
If override is send then it also sets Mule override value for those properties.
If override is send then it also sets Mule override value for those properties.
Query Parameters
override:
boolean
Whether to set a Mule override for the given properties.
default:
TrueRequest Body
jsonResponse
Successful operation.
Examples
application/json
{}
application/text
{}
Get server property getProperty
GET
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Retrieves the property with the given name from the ${mule_home}/conf/wrapper.conf file.
Path Parameters
propertyName *:
string
The propertyName to identify the target resource.
Response
Successful operation.
Examples
application/json
{}
application/text
{}
Set server property setProperty
PUT
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Sets the given property in ${mule_home}/conf/wrapper.conf file.
If override is send then it also sets mule overrides for that property.
If override is send then it also sets mule overrides for that property.
Path Parameters
propertyName *:
string
The propertyName to identify the target resource.
Request Body
jsonResponse
Successful operation.
Examples
application/json
{}
application/text
{}
Delete server property deleteProperty
DELETE
Try it out
Path Parameters
Custom Query Parameters
Custom Headers
Removes the property located in ${mule_home}/conf/wrapper.conf file.
Path Parameters
propertyName *:
string
The propertyName to identify the target resource.
Response
If the operation is successfull