GitLab API

GitlabTool

Actions1095

Projects → postApiV4Projects

AI-generated

Summary

Create a new project in GitLab by sending a POST request to the /api/v4/projects endpoint with the required project details in the request body.

Inputs

  • skipAuthentication — Boolean flag to skip authentication; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com if not specified.
  • method — HTTP method to use, fixed to POST for this operation.
  • parameterSchema (required) — JSON schema defining the required and optional fields for the body of the POST request to create the project. This includes all project properties according to GitLab's API specifications.

Output shape

a single JSON object

Returns the created project details as a JSON object as per GitLab API v4 response. Authentication is required unless skipAuthentication is enabled; the base URL defaults to https://gitlab.com but can be overridden.

Links

Discussion