Agent Local API Reference
The Agent daemon supports a local API with REST-like endpoints as well as WebSockets.
SDKs are available!
API Endpoints
Get Container Configuration
This endpoint provides the current JSON configuration string for the requesting container. Containers identify themselves by their element ID, which is mapped into the container as an environment variable.
Endpoint
Response
{
"status": "okay",
"config": "{\"property1\":\"value1\",\"property2\":\"value2\"}"
}
Querystring Parameters
None
POST Parameters
{
"id": "R4b2WPZRbycCzyZBz9tD7BdMWg94YDhQ"
// Note: The POST value is JSON and must be sent
// with HTTP header set as “Content-Type:application/json”
}