Run a manual job

POST /projects/{id}/jobs/{job_id}/play

Path parameters

  • id integer Required

    The ID of the project

  • job_id integer Required

    The ID of the manual job to run

Query parameters

  • job_variables_attributes array[string]

    An array containing the custom variables available to the job

Responses

  • 200

    Job started successfully

POST /projects/{id}/jobs/{job_id}/play
curl \
 --request POST 'https://www.gitlab.com/api/v4/projects/{id}/jobs/{job_id}/play' \
 --header "Private-Token: $API_KEY"