{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitLab.",
  "vendor": "gitlab",
  "event": "build",
  "resource": "ci",
  "url": "https://hookdeck.com/webhooks/gitlab/events#build",
  "description": "CI job status changes. Sent as Job Hook.",
  "trigger": null,
  "listed_in": "https://docs.gitlab.com/user/project/integrations/webhook_events/#job-events",
  "confidence": "documented",
  "schema_source": "from GitLab docs (example)",
  "identified_by": "x-gitlab-event header",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 80,
    "key_fields": [
      {
        "path": "build_created_at",
        "type": "string",
        "example": "2021-02-23T02:41:37.886Z"
      }
    ],
    "delivery": {
      "title": "From GitLab docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "object_kind": "build",
      "ref": "gitlab-script-trigger",
      "tag": false,
      "before_sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
      "sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
      "retries_count": 2,
      "build_id": 1977,
      "build_name": "test",
      "build_stage": "test",
      "build_status": "created",
      "build_created_at": "2021-02-23T02:41:37.886Z",
      "build_started_at": null,
      "build_finished_at": null,
      "build_created_at_iso": "2021-02-23T02:41:37Z",
      "build_started_at_iso": null,
      "build_finished_at_iso": null,
      "build_duration": null,
      "build_queued_duration": 1095.588715,
      "build_allow_failure": false,
      "build_failure_reason": "unknown_failure",
      "pipeline_id": 2366,
      "runner": {
        "id": 380987,
        "description": "shared-runners-manager-6.gitlab.com",
        "runner_type": "project_type",
        "active": true,
        "is_shared": false,
        "tags": [
          "linux",
          "docker"
        ]
      },
      "project_id": 380,
      "project_name": "gitlab-org/gitlab-test",
      "user": {
        "id": 3,
        "name": "User",
        "username": "user",
        "avatar_url": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm",
        "email": "user@gitlab.com"
      },
      "commit": {
        "id": 2366,
        "name": "Build pipeline",
        "sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
        "message": "test\n",
        "author_name": "User",
        "author_email": "user@gitlab.com",
        "author_url": "http://192.168.64.1:3005/user",
        "status": "created",
        "duration": null,
        "started_at": null,
        "finished_at": null,
        "started_at_iso": null,
        "finished_at_iso": null
      },
      "repository": {
        "name": "gitlab_test",
        "url": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
        "description": "Atque in sunt eos similique dolores voluptatem.",
        "homepage": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
        "git_ssh_url": "git@192.168.64.1:gitlab-org/gitlab-test.git",
        "git_http_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test.git",
        "visibility_level": 20
      },
      "project": {
        "id": 380,
        "name": "Gitlab Test",
        "description": "Atque in sunt eos similique dolores voluptatem.",
        "web_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test",
        "avatar_url": null,
        "git_ssh_url": "git@192.168.64.1:gitlab-org/gitlab-test.git",
        "git_http_url": "http://192.168.64.1:3005/gitlab-org/gitlab-test.git",
        "namespace": "Gitlab Org",
        "visibility_level": 20,
        "path_with_namespace": "gitlab-org/gitlab-test",
        "default_branch": "master",
        "ci_config_path": null
      },
      "environment": null,
      "source_pipeline": {
        "project": {
          "id": 41,
          "web_url": "https://gitlab.example.com/gitlab-org/upstream-project",
          "path_with_namespace": "gitlab-org/upstream-project"
        },
        "pipeline_id": 30,
        "job_id": 3401
      }
    }
  }
}