GitLab API icon

GitLab API

Gitlab

Actions1062

Snippets → getApiV4SnippetsId

AI-generated

Summary

Fetch a single GitLab snippet by its ID.

Inputs

  • id (required) — The numeric ID of the snippet to retrieve.

Output shape

object

Returns the snippet JSON from GitLab (id, title, description, code, visibility, author, etc.).

Links

Discussion