Skip to main content
You are viewing v4 of the Coralogix API. v5 is the current version. Go to the v5 reference

Replace Slo

PUThttps://api.coralogix.com/mgmt/openapi/4/slo/slos/v1

No description available

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Query Parameters

    silence_data_validations# boolean

Body

application/json
    oneOf
    apmSli#object

    Definition of an APM-based SLI with automatic query generation

    oneOf
    apmSli.errorConfig#object

    Configuration for error-based APM SLI

    apmSli.groupingKeys#string[]
    Example: ["environment","region"]
    apmSli.services#string[]
    Example: ["my-service","payment-service"]
    createTime#date-time
    creator#string
    description#string
    Example: A brief description of my SLO

    Definition of the SLO grouping fields

    id#string
    Example: b11919d5-ef85-4bb1-8655-02640dbe94d9
    name#string
    Example: Example Slo Name
    productType#SloProductType

    Possible values: [SLO_PRODUCT_TYPE_UNSPECIFIED, SLO_PRODUCT_TYPE_APM]

    The revision of the slo, used to differentiate between different versions of the same SLO

    sloTimeFrame#SloTimeFrame

    Possible values: [SLO_TIME_FRAME_UNSPECIFIED, SLO_TIME_FRAME_7_DAYS, SLO_TIME_FRAME_14_DAYS, SLO_TIME_FRAME_21_DAYS, SLO_TIME_FRAME_28_DAYS]

    sloType#SloType

    Possible values: [SLO_TYPE_REQUEST, SLO_TYPE_WINDOW]

    targetThresholdPercentage#float
    Example: 99.999
    type#stringdeprecated
    Example: request
    updateTime#date-time

Response

application/json

Response after replacing an existing SLO.

    effectedSloAlertIds#string[]
    slo#objectrequired

    Definition of an SLO

    oneOf
    slo.createTime#date-time
    slo.creator#string
    slo.description#string
    Example: A brief description of my SLO

    Definition of the SLO grouping fields

    slo.id#string
    Example: b11919d5-ef85-4bb1-8655-02640dbe94d9
    slo.name#string
    Example: Example Slo Name
    slo.productType#SloProductType

    Possible values: [SLO_PRODUCT_TYPE_UNSPECIFIED, SLO_PRODUCT_TYPE_APM]

    Definition of a request-based SLI based on metrics

    The revision of the slo, used to differentiate between different versions of the same SLO

    slo.sloTimeFrame#SloTimeFrame

    Possible values: [SLO_TIME_FRAME_UNSPECIFIED, SLO_TIME_FRAME_7_DAYS, SLO_TIME_FRAME_14_DAYS, SLO_TIME_FRAME_21_DAYS, SLO_TIME_FRAME_28_DAYS]

    slo.sloType#SloType

    Possible values: [SLO_TYPE_REQUEST, SLO_TYPE_WINDOW]

    slo.targetThresholdPercentage#float
    Example: 99.999
    slo.type#stringdeprecated
    Example: request
    slo.updateTime#date-time