Skip to main content
Batch Execute Slo
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/5/slo/slos/v1/all/execute \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requests": [
    {
      "createSloRequest": {
        "slo": {
          "apmSli": {
            "errorConfig": {},
            "filters": [
              {
                "key": "environment",
                "value": "production",
                "values": [
                  "500"
                ]
              }
            ],
            "groupingKeys": [
              "environment",
              "region"
            ],
            "services": [
              "my-service",
              "payment-service"
            ]
          },
          "apmSliMetadata": {
            "errorConfig": {},
            "filters": [
              {
                "key": "environment",
                "value": "production",
                "values": [
                  "500"
                ]
              }
            ],
            "groupingKeys": [
              "environment",
              "region"
            ],
            "services": [
              "my-service",
              "payment-service"
            ]
          },
          "createTime": "2023-11-07T05:31:56Z",
          "creator": "test@domain.com",
          "description": "A brief description of my SLO",
          "grouping": {
            "labels": [
              "<string>"
            ]
          },
          "id": "b11919d5-ef85-4bb1-8655-02640dbe94d9",
          "labels": {},
          "name": "Example Slo Name",
          "ownershipTags": {
            "environment": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            },
            "service": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            },
            "team": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            }
          },
          "revision": {
            "revision": 1,
            "updateTime": "2023-11-07T05:31:56Z"
          },
          "targetThresholdPercentage": 99.999,
          "type": "request",
          "updateTime": "2023-11-07T05:31:56Z"
        },
        "silenceDataValidations": true
      }
    }
  ]
}
'
{
  "matchingResponses": [
    {
      "createSloResponse": {
        "slo": {
          "apmSli": {
            "errorConfig": {},
            "filters": [
              {
                "key": "environment",
                "value": "production",
                "values": [
                  "500"
                ]
              }
            ],
            "groupingKeys": [
              "environment",
              "region"
            ],
            "services": [
              "my-service",
              "payment-service"
            ]
          },
          "apmSliMetadata": {
            "errorConfig": {},
            "filters": [
              {
                "key": "environment",
                "value": "production",
                "values": [
                  "500"
                ]
              }
            ],
            "groupingKeys": [
              "environment",
              "region"
            ],
            "services": [
              "my-service",
              "payment-service"
            ]
          },
          "createTime": "2023-11-07T05:31:56Z",
          "creator": "test@domain.com",
          "description": "A brief description of my SLO",
          "grouping": {
            "labels": [
              "<string>"
            ]
          },
          "id": "b11919d5-ef85-4bb1-8655-02640dbe94d9",
          "labels": {},
          "name": "Example Slo Name",
          "ownershipTags": {
            "environment": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            },
            "service": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            },
            "team": {
              "labelKeys": [
                "deployment_environment",
                "k8s_namespace"
              ],
              "resolvedValues": [
                "checkout-api",
                "production",
                "staging",
                "payments-ns"
              ],
              "staticValues": [
                "checkout-api"
              ]
            }
          },
          "revision": {
            "revision": 1,
            "updateTime": "2023-11-07T05:31:56Z"
          },
          "targetThresholdPercentage": 99.999,
          "type": "request",
          "updateTime": "2023-11-07T05:31:56Z"
        }
      }
    }
  ],
  "status": {
    "details": {},
    "message": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Request to batch execute multiple SLO operations.

requests
SloExecutionRequest · object[]
required

The requests.

Request for executing an SLO operation.

Response

Response containing the results of batch executed SLO operations.

matchingResponses
SloExecutionResponse · object[]
required

The matching responses.

Response for an executed SLO operation.

status
ResponseStatus · object

Status of the response, including error code and message.