GitLab API icon

GitLab API

Gitlab

Actions1062

Runners → postApiV4Runners

AI-generated

Summary

Create a new GitLab runner by sending a POST request to the /api/v4/runners endpoint with the specified request body parameters.

Inputs

  • Skip Authentication — Optional boolean to bypass GitLab API authentication, defaults to false.
  • baseUrl — The base URL for the GitLab instance, defaults to https://gitlab.com.
  • Method (required) — HTTP method to use; must be POST for this operation.
  • Parameter Schema (required) — The request body schema defining the parameters required to create a runner, must conform to postApiV4Runners schema.

Output shape

A JSON object representing the created runner as returned by the GitLab API.

The output will contain the created runner's details. The operation requires authentication unless skipAuthentication is set to true. The request body is mandatory and must conform to the API's runner creation schema.

Examples

Example 1: Create a new GitLab runner with specified parameters.

Set 'Method' to POST, provide the runner parameters in 'Parameter Schema' following postApiV4Runners schema, optionally specify a custom baseUrl if using a self-hosted GitLab instance, and ensure authentication is enabled unless intentionally skipped.

Links

Discussion