Skip to content
Get started

Fetch in-depth information about a single SLA

client.slas.retrieve(stringurn, RequestOptionsoptions?): SlaRetrieveResponse { description, name, urn, vendor_urn }
GET/v1/slas/{urn}

Fetch in-depth information about a single SLA

ParametersExpand Collapse
urn: string
ReturnsExpand Collapse
SlaRetrieveResponse { description, name, urn, vendor_urn }
description: string

A description of the SLA

name: string

The name of the SLA

urn: string

A unique identifier for the SLA

vendor_urn: string

A unique identifier for the vendor associated with the SLA

Fetch in-depth information about a single SLA

import Clarative from 'clarative';

const client = new Clarative({
  apiKey: process.env['CLARATIVE_API_KEY'], // This is the default and can be omitted
});

const sla = await client.slas.retrieve('urn');

console.log(sla.description);
{
  "description": "description",
  "name": "name",
  "urn": "urn",
  "vendor_urn": "vendor_urn"
}
Returns Examples
{
  "description": "description",
  "name": "name",
  "urn": "urn",
  "vendor_urn": "vendor_urn"
}