GitLab API

GitlabTool

Actions1095

Wikis → getApiV4ProjectsIdWikisSlug

AI-generated

Summary

Retrieve a specific wiki page identified by its slug from a GitLab project by project ID, optionally specifying a version or requesting HTML-rendered content.

Inputs

  • id (required) — The ID of the GitLab project to access.
  • slug (required) — The slug (URL-friendly identifier) of the wiki page to retrieve.
  • version — Optional version hash of the wiki page to retrieve a specific historical version.
  • render_html — Optional boolean to render the wiki content as HTML instead of raw markdown.

Output shape

a single wiki page object as returned by GitLab API

Returns the JSON representation of the wiki page specified by project ID and slug. Supports optional query parameters to select version and HTML rendering. Requires authentication unless 'Skip Authentication' is enabled.

Links

Discussion