> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get SLA policies

> List the SLA policies in your workspace or fetch one by ID.

There are two ways to fetch SLA policies:

* [Get SLA policies](#get-sla-policies): paginated collection, filtered by name or target type
* [Get SLA policy by ID](#get-sla-policy-by-id)

<Snippet file="graphql/sdk-note.mdx" />

These operations require the following permissions:

* `serviceLevelAgreement:read`

## Get SLA policies

Policies are sorted by name. Narrow the list with `filters`: `searchQuery` matches part of the name, and `serviceLevelAgreementTypes` keeps only policies that hold a target of at least one of the given types. This endpoint supports [Pagination](/docs/graphql/pagination).

<Snippet file="graphql/get-sla-policies.mdx" />

## Get SLA policy by ID

Returns `null` when no policy has the ID.

<Snippet file="graphql/get-sla-policy-by-id.mdx" />
