Skip to content
Get started

List all SLAs

slas.list() -> SlaListResponse
GET/v1/slas

List all SLAs

ReturnsExpand Collapse
List[SlaListResponseItem]
description: str

A description of the SLA

name: str

The name of the SLA

urn: str

A unique identifier for the SLA

vendor_urn: str

A unique identifier for the vendor associated with the SLA

List all SLAs

import os
from clarative import Clarative

client = Clarative(
    api_key=os.environ.get("CLARATIVE_API_KEY"),  # This is the default and can be omitted
)
slas = client.slas.list()
print(slas)
[
  {
    "description": "description",
    "name": "name",
    "urn": "urn",
    "vendor_urn": "vendor_urn"
  }
]
Returns Examples
[
  {
    "description": "description",
    "name": "name",
    "urn": "urn",
    "vendor_urn": "vendor_urn"
  }
]