Create a Composite KPI

POST https://{{crosswork_ip}}:30603/crosswork/hi/v1/kpi/composites/write

Use this API Call to create a composite KPI on Crosswork.

Request Body

{"kpi_profile_id"=>"EdgeRouters123", "name"=>"CompositeKPItest1", "summary"=>"", "details"=>"", "alert_gate"=>{"operation"=>"and", "alert_inputs"=>[{"alert_primitive"=>{"kpi_id"=>"pulse_device_uptime", "levels"=>[{"level"=>"CRITICAL"}, {"level"=>"MAJOR"}]}}, {"alert_primitive"=>{"kpi_id"=>"pulse_layer1_optics_alarms", "levels"=>[{"level"=>"CRITICAL"}]}}]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring