GitLab API icon

GitLab API

Gitlab

Actions1062

Runners → postApiV4ProjectsIdRunners

AI-generated

Summary

Send a POST request to the GitLab API endpoint to assign a runner to a specific project by project ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user to which the runner will be assigned.
  • Request Body (required) — The body of the POST request conforming to the postApiV4ProjectsIdRunners schema detailing the runner assignment parameters.
  • Skip Authentication — Boolean flag to skip authentication if necessary (defaults to false).
  • baseUrl — Optional base URL to override the default GitLab API URL (default is https://gitlab.com).

Output shape

a single record representing the API response from GitLab for the runner assignment operation

Returns the JSON response body from the GitLab server for this runner assignment endpoint. The user must provide the project identifier and a valid request body according to the API's schema to successfully assign a runner.

Links

Discussion