Infrastructure/Agent Plugins
POSTAgentSince 1.0SynchronousAuth Required
RegisterPlugin
Register a new plugin into the global plugin registry
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name of the plugin to register
Example: nginx-log-collector
versionStringRequiredVersion of the plugin package
Example: 2.1.0
pluginTypeStringRequiredPlugin type category (log, metric, trace)
Example: log
artifactUrlStringRequiredURL pointing to the downloadable plugin artifact
Example: https://artifacts.example.com/plugins/nginx-log-collector-2.1.0.tar.gz
checksumStringRequiredSHA256 checksum for verifying artifact integrity
Example: sha256:abc123def456
Responses
Endpoint
POST/api/v1/plugins
/api/v1/plugins
Request Example
curl -X POST '{host}/api/v1/plugins' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"nginx-log-collector","version":"2.1.0","pluginType":"log","artifactUrl":"https://artifacts.example.com/plugins/nginx-log-collector-2.1.0.tar.gz","checksum":"sha256:abc123def456","configSchema":"{}","pluginRuntime":"go"}'
Response Example
200{
"id": "plugin-001-abc",
"name": "nginx-log-collector",
"version": "2.1.0",
"pluginType": "log",
"artifactUrl": "https://artifacts.example.com/plugins/nginx-log-collector-2.1.0.tar.gz",
"checksum": "sha256:abc123def456",
"configSchema": "{}",
"pluginRuntime": "go"
}Change History
This API has no change history records yet.
