GitLab API

GitlabTool

Actions1095

Snippets → getApiV4SnippetsAll

AI-generated

Summary

Lists GitLab snippets available across the instance using GET /api/v4/snippets/all. Optionally filter by creation date range or repository storage, and choose the page and page size.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API credential authentication.
  • Authentication — Uses the GitLab API credential when authentication is not skipped.
  • Base URL — Defaults to https://gitlab.com; the API host is ultimately defined by the GitLab API credential.
  • Method — HTTP method selector, defaulting to GET.
  • Created_after — Filter for snippets created after this date-time.
  • Created_before — Filter for snippets created before this date-time.
  • Page — Page number to retrieve; the API schema default is 1.
  • Per_page — Number of snippets per page; the API schema default is 20.
  • Repository_storage — Filter by the repository storage used by the snippet.

Output shape

A list of snippet records for the requested page.

The endpoint supports pagination through page and per_page. The source provided does not show additional response transformation or the exact record fields.

Links

Discussion