Get the SLO definitions

GET /s/{spaceId}/internal/observability/slos/_definitions

You must have the read privileges for the SLOs feature in the Observability section of the Kibana feature privileges.

Headers

  • kbn-xsrf string Required

    Cross-site request forgery protection

Path parameters

  • spaceId string Required

    An identifier for the space. If /s/ and the identifier are omitted from the path, the default space is used.

Query parameters

  • Indicates if the API returns only outdated SLO or all SLO definitions

  • tags string

    Filters the SLOs by tag

  • page number

    The page to use for pagination, must be greater or equal than 1

  • perPage integer

    Number of SLOs returned by page

    Maximum value is 1000. Default value is 100.

Responses

  • 200 application/json

    Successful request

    A paginated response of SLO definitions matching the query.

    One of:
  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
  • 401 application/json

    Unauthorized response

    Hide response attributes Show response attributes object
  • 403 application/json

    Unauthorized response

    Hide response attributes Show response attributes object
GET /s/{spaceId}/internal/observability/slos/_definitions
curl \
 --request GET 'https://localhost:5601/s/default/internal/observability/slos/_definitions' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: string"
OSZAR »