> ## Documentation Index
> Fetch the complete documentation index at: https://plain-docs-orca-916-agent-docs-restructure.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch snippets

> Fetch snippets by ID or as a paginated collection.

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

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

These operations 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" />
