> ## 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.

# Fetch snippets

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

You can fetch snippets either as a paginated collection or by ID.

These queries require the following permissions:

* `snippet:read`

## Get snippets

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

## Get a snippet by ID

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