Skip to main content
SLO & Service Quality/SLO

ListSLIs

List all SLI definitions available in the system.

GET/api/v1/slo/slis

Operation ID

ListSLIs

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

This API requires no request parameters.

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • items
    List

    Paginated list of SLI definitions matching the query.

    Example: (nested array)

    • id
      String

      Unique identifier of the SLI definition.

      Example: sli-abc123

    • name
      String

      Human-readable name of the SLI.

      Example: api-availability

    • description
      String

      Detailed description of what this SLI measures.

      Example: Ratio of successful HTTP requests to total requests

    • metricType
      String

      Metric category: availability | latency | throughput | error_rate.

      Example: availability

    • goodEventsQuery
      String

      PromQL expression counting good (successful) events.

      Example: sum(rate(http_requests_total{status=~"2.."}[5m]))

    • totalEventsQuery
      String

      PromQL expression counting all events (denominator).

      Example: sum(rate(http_requests_total[5m]))

    • unit
      String

      Unit of the measured metric (e.g., requests, ms).

      Example: requests

    • sourceProduct
      String

      Product or service that owns this SLI.

      Example: zcf-api

    • createdAt
      String

      Timestamp when this SLI definition was created.

      Example: 2026-01-15T08:00:00Z

  • total
    Integer

    Total number of SLI definitions available.

    Example: 25

  • limit
    Integer

    Maximum number of items returned per page.

    Example: 20

  • offset
    Integer

    Number of items skipped before this page.

    Example: 20