Use this API to manage the runners already registered to an instance, group, or project.

To create a runner, use the POST /user/runners endpoint instead.

List all runners in a group

GET /api/v4/groups/{id}/runners

Lists all runners available in a specified group and any ancestor groups, including any allowed instance runners. You must be an administrator or auditor, or have the Security Manager, Maintainer, or Owner role in the group, or a custom role with the admin_runners permission in the group. Requires a token with the api or read_api scope.

Parameters

NameTypeDescription
id
Path, required
StringID or URL-encoded path of the group
type
Query
StringType of runners to return
Allowed values: instance_type, group_type, project_type
paused
Query
BooleanIf true, returns only runners that are ignoring new jobs. If false, returns only runners that are accepting new jobs
status
Query
StringStatus of runners to return. The active and paused values are deprecated. Use the paused parameter instead. Requesting offline runners might also return stale runners, because stale is included in offline
Allowed values: active, paused, online, offline, never_contacted, stale
tag_list
Query
Array of stringsList of runner tags
Example: ["macos","shell"]
version_prefix
Query
StringVersion prefix of runners to return
Pattern: (?<=^|\n(?!$))[\d+.]+
Example: 15.1.
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiRunnerWithUuid
400Scope contains invalid value—
403Forbidden—
404Not Found—

Reset runner registration token

POST /api/v4/groups/{id}/runners/reset_registration_token

FE version

Parameters

NameTypeDescription
id
Path, required
StringThe ID of a group

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiResetTokenResult
400Bad Request—
401Unauthorized—
403Forbidden—
404Group Not Found—

List all runners for a project

GET /api/v4/projects/{id}/runners

Lists all runners available in the project, including from ancestor groups and any allowed instance runners. You must be an administrator of the GitLab instance or have at least the Maintainer or Auditor role for the target project.

Parameters

NameTypeDescription
id
Path, required
String or integerID or URL-encoded path of the project
scope
Query
StringScope of runners to return. If omitted, all runners are returned. Deprecated. Use type or status instead
Allowed values: specific, shared, instance_type, group_type, project_type, active, paused, online, offline, never_contacted, stale
type
Query
StringType of runners to return
Allowed values: instance_type, group_type, project_type
paused
Query
BooleanIf true, returns only runners that are ignoring new jobs. If false, returns only runners that are accepting new jobs
status
Query
StringStatus of runners to return. The active and paused values are deprecated. Use the paused parameter instead. Requesting offline runners might also return stale runners, because stale is included in offline
Allowed values: active, paused, online, offline, never_contacted, stale
tag_list
Query
Array of stringsList of runner tags
Example: ["macos","shell"]
version_prefix
Query
StringVersion prefix of runners to return
Pattern: (?<=^|\n(?!$))[\d+.]+
Example: 15.1.
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiRunnerWithUuid
400Scope contains invalid value—
403No access granted—
404Not Found—

Assign a runner to a project

POST /api/v4/projects/{id}/runners

Assigns an available project runner to a project. You must have the Maintainer or Owner role in the target project and in a project assigned to the runner, or a custom role with the admin_runners permission. Requires a token with the api scope.

Parameters

NameTypeDescription
id
Path, required
String or integerID or URL-encoded path of the project

Request body (application/json)

PropertyTypeDescription
runner_id
Required
IntegerID of the runner

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiRunnerWithUuid
400Bad Request—
403Runner is locked—
404Runner not found—

Reset runner registration token

POST /api/v4/projects/{id}/runners/reset_registration_token

FE version

Parameters

NameTypeDescription
id
Path, required
StringThe ID of a project

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiResetTokenResult
400Bad Request—
401Unauthorized—
403Forbidden—
404Project Not Found—

Unassign a runner from a project

DELETE /api/v4/projects/{id}/runners/{runner_id}

Unassigns a specified project runner from a project. You cannot unassign a runner from the owner project. Use the delete a runner operation instead. If the runner is locked, only administrators can unassign it. You must have the Maintainer or Owner role in the project, or a custom role with the admin_runners permission. Requires a token with the api scope.

Parameters

NameTypeDescription
id
Path, required
String or integerID or URL-encoded path of the project
runner_id
Path, required
IntegerID of the runner

Responses

CodeDescriptionSchema
200OKAPIEntitiesCiRunner
400Bad Request—
403You cannot unassign a runner from the owner project. Delete the runner instead—
404Runner not found—
412Precondition Failed—

List all available runners

GET /api/v4/runners

Lists all runners available to the user. For group runners, you must have the Owner role in the owner namespace. For project runners, you must have the Maintainer or Owner role in a project assigned to the runner. Requires a token with the api or read_api scope.

Parameters

NameTypeDescription
scope
Query
StringScope of runners to return. If omitted, all runners are returned. Deprecated. Use type or status instead
Allowed values: specific, shared, instance_type, group_type, project_type, active, paused, online, offline, never_contacted, stale
type
Query
StringType of runners to return
Allowed values: instance_type, group_type, project_type
paused
Query
BooleanIf true, returns only runners that are ignoring new jobs. If false, returns only runners that are accepting new jobs
status
Query
StringStatus of runners to return. The active and paused values are deprecated. Use the paused parameter instead. Requesting offline runners might also return stale runners, because stale is included in offline
Allowed values: active, paused, online, offline, never_contacted, stale
tag_list
Query
Array of stringsList of runner tags
Example: ["macos","shell"]
version_prefix
Query
StringVersion prefix of runners to return
Pattern: (?<=^|\n(?!$))[\d+.]+
Example: 15.1.
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiRunnerWithUuid
400Scope contains invalid value—
401Unauthorized—

List all runners

GET /api/v4/runners/all

Lists all runners in the GitLab instance (project and shared). You must have either administrator access or auditor access.

Parameters

NameTypeDescription
scope
Query
StringScope of runners to return. If omitted, all runners are returned. Deprecated. Use type or status instead
Allowed values: specific, shared, instance_type, group_type, project_type, active, paused, online, offline, never_contacted, stale
type
Query
StringType of runners to return
Allowed values: instance_type, group_type, project_type
paused
Query
BooleanIf true, returns only runners that are ignoring new jobs. If false, returns only runners that are accepting new jobs
status
Query
StringStatus of runners to return. The active and paused values are deprecated. Use the paused parameter instead. Requesting offline runners might also return stale runners, because stale is included in offline
Allowed values: active, paused, online, offline, never_contacted, stale
tag_list
Query
Array of stringsList of runner tags
Example: ["macos","shell"]
version_prefix
Query
StringVersion prefix of runners to return
Pattern: (?<=^|\n(?!$))[\d+.]+
Example: 15.1.
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiRunnerWithUuid
400Scope contains invalid value—
401Unauthorized—

Reset the runner registration token for the instance

POST /api/v4/runners/reset_registration_token

Resets the runner registration token for the GitLab instance. Registering runners with a registration token is deprecated. Create runners with POST /user/runners and use their authentication token instead.

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiResetTokenResult
400Bad Request—
403Forbidden—

Retrieve details on a runner

GET /api/v4/runners/{id}

Retrieves details of a runner. Instance runner details are available to all authenticated users through this endpoint. For groups and projects, you must have the Maintainer or Owner role for the associated project or group. The Security Manager role in the associated project or group, or a custom role with the admin_runners permission in the owner group or project, also grants access. Requires a token with the api, read_api, or manage_runner scope.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner
include_projects
Query
BooleanIf true, includes projects in the response. If false, improves performance for runners with many projects
Default: true

Responses

CodeDescriptionSchema
200OKAPIEntitiesCiRunnerDetails
400Bad Request—
401Unauthorized—
403No access granted—
404Runner not found—

Update a runner

PUT /api/v4/runners/{id}

Updates a specified runner. For instance runners, you must be an administrator. For group runners, you must have the Owner role in the owner group. For project runners, you must have the Maintainer or Owner role in a project assigned to the runner. A custom role with the admin_runners permission in the owner group or project also grants access. Requires a token with the api or manage_runner scope.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner

Request body (application/json)

PropertyTypeDescription
access_levelStringAccess level of the runner. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
Allowed values: not_protected, ref_protected
activeBooleanIf true, the runner is allowed to receive jobs. Deprecated. Use paused instead. Mutually exclusive with paused. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
descriptionStringDescription of the runner. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
lockedBooleanIf true, the runner is locked. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
maintenance_noteStringFree-form maintenance notes for the runner. Limited to 1024 characters. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
maximum_timeoutIntegerMaximum time, in seconds, that runners can spend running a job. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
pausedBooleanIf true, the runner ignores new jobs. Mutually exclusive with active. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
run_untaggedBooleanIf true, the runner can execute untagged jobs. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided
tag_listArray of stringsList of tags for the runner. At least one of description, active, paused, tag_list, run_untagged, locked, access_level, maximum_timeout, maintenance_note must be provided

Responses

CodeDescriptionSchema
200OKAPIEntitiesCiRunnerDetails
400Bad Request—
401Unauthorized—
403No access granted—
404Runner not found—

Delete a runner

DELETE /api/v4/runners/{id}

Deletes a specified runner. For instance runners, you must be an administrator. For group runners, you must have the Owner role in the owner group. For project runners, you must have the Maintainer or Owner role in the project that owns the runner. A custom role with the admin_runners permission in the owner group or project also grants access. Requires a token with the api or manage_runner scope.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner

Responses

CodeDescriptionSchema
200OKAPIEntitiesCiRunner
400Bad Request—
401Unauthorized—
403Runner associated with more than one project—
404Runner not found—
412Precondition Failed—

List all jobs processed by a runner

GET /api/v4/runners/{id}/jobs

Lists all jobs that are being processed or were processed by a specified runner. The list of jobs is limited to projects where the user has the Reporter, Developer, Maintainer, or Owner role. When the ci_rate_limit_rest_runner_job_list_completed_statuses feature flag is enabled, requests filtered by success, failed, or canceled are rate limited per user (runner_job_list_completed_statuses_limit_per_user application setting), and statuses a runner’s jobs cannot have, such as pending, match no jobs. Until the ci_enforce_runner_job_list_completed_statuses_limit feature flag is enabled, requests over this limit are logged but not blocked. Requests that list only jobs from the user’s projects, which is every user except administrators in Admin Mode and auditors, are rate limited per user (runner_job_list_project_filtered_limit_per_user application setting). Until the ci_rate_limit_rest_runner_job_list_project_filtered feature flag is enabled, requests over this limit are logged but not blocked.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner
system_id
Query
StringSystem ID associated with the runner manager
status
Query
StringStatus of the job
Allowed values: created, waiting_for_resource, preparing, waiting_for_callback, pending, running, success, failed, canceling, canceled, skipped, manual, scheduled
order_by
Query
StringSort results by the specified field
Allowed values: id
sort
Query
StringSort results in ascending or descending order. Specify order_by as well, including for id
Allowed values: asc, desc
Default: desc
cursor
Query
StringCursor for obtaining the next set of records
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiJobBasicWithProject
400Bad Request—
401Unauthorized—
403No access granted—
404Runner not found—
429Too Many Requests—

List all managers for a runner

GET /api/v4/runners/{id}/managers

List all managers for a specified runner. Each request counts the runner’s managers toward a per-user rate limit (runner_manager_list_limit_per_user application setting). Until the ci_rate_limit_rest_runner_manager_list feature flag is enabled, requests over this limit are logged but not blocked.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesCiRunnerManager
400Bad Request—
403Forbidden—
404Not Found—
429Too many requests—

Get projects associated with a runner

GET /api/v4/runners/{id}/projects

Get a paginated list of all projects associated with the specified runner. Access is restricted based on user permissions.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner
page
Query
IntegerPage number of results to retrieve
Default: 1
Example: 1
per_page
Query
IntegerNumber of items to list per page
Default: 20
Example: 20

Responses

CodeDescriptionSchema
200OKArray of APIEntitiesBasicProjectDetails
400Bad Request—
401Unauthorized—
403No access granted—
404Runner not found—

Reset an authentication token for a runner

POST /api/v4/runners/{id}/reset_authentication_token

Resets the authentication token for a specified runner. For instance runners, you must be an administrator. For group runners, you must have the Owner role in the owner group. For project runners, you must have the Maintainer or Owner role in a project assigned to the runner. A custom role with the admin_runners permission in the owner group or project also grants access. Requires a token with the api or manage_runner scope.

Parameters

NameTypeDescription
id
Path, required
IntegerID of the runner

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiResetTokenResult
400Bad Request—
403No access granted—
404Runner not found—
422Unprocessable Entity—

Create a runner owned by currently authenticated user

POST /api/v4/user/runners

Creates a runner linked to the current user. The user is listed as the owner for audit purposes, but runner availability is based on runner_type. The token value is included in the response, but cannot be retrieved later. For instance_type, requires an administrator. For group_type, requires an administrator, the Owner role for the group, or a custom role with the admin_runners permission. For project_type, requires an administrator, at least the Maintainer role for the project, or a custom role with the admin_runners permission. For group_type and project_type, users who are not administrators can create the runner only when runner registration is allowed for the group or project. Requires a token with the create_runner or api scope.

Request body (application/json)

PropertyTypeDescription
access_levelStringAccess level of the runner
Allowed values: not_protected, ref_protected
descriptionStringDescription of the runner
group_id
Required
IntegerID of the group to create the runner in. Required if runner_type is group_type
Example: 1
lockedBooleanSpecifies if the runner should be locked for the current project
Default: false
maintenance_noteStringFree-form maintenance notes for the runner. Limited to 1024 characters
maximum_timeoutIntegerMaximum time, in seconds, that runners can spend running a job
pausedBooleanIf true, the runner ignores new jobs
project_id
Required
IntegerID of the project to create the runner in. Required if runner_type is project_type
Example: 1
run_untaggedBooleanSpecifies if the runner should handle untagged jobs
Default: true
runner_type
Required
StringScope of the runner
Allowed values: instance_type, group_type, project_type
Minimum length: 1
tag_listArray of stringsComma-separated list of runner tags

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesCiRunnerRegistrationDetails
400Bad Request—
403Forbidden—

Schemas

Objects returned by the operations above and objects nested in their request bodies.

APIEntitiesBasicGroupDetails

PropertyTypeDescription
idInteger (int64)ID of the group
nameStringName of the group
Example: Diaspora
web_urlStringURL to access the group in a browser
Example: http://gitlab.example.com/groups/diaspora

APIEntitiesBasicProjectDetails

PropertyTypeDescription
avatar_urlStringExample: http://example.com/uploads/project/avatar/3/uploads/avatar.png
created_atString (date-time)Example: 2020-05-07T04:27:17.016Z
custom_attributesAPIEntitiesCustomAttribute—
default_branchStringExample: main
descriptionStringExample: desc
forks_countIntegerExample: 1
http_url_to_repoStringExample: https://gitlab.example.com/gitlab/gitlab.git
idInteger (int64)Example: 1
last_activity_atString (date-time)Example: 2013-09-30T13:46:02Z
licenseAPIEntitiesLicenseBasic—
license_urlStringExample: https://gitlab.example.com/gitlab/gitlab/blob/master/LICENCE
nameStringExample: project1
name_with_namespaceStringExample: John Doe / project1
namespaceAPIEntitiesNamespaceBasic—
pathStringExample: project1
path_with_namespaceStringExample: namespace1/project1
readme_urlStringExample: https://gitlab.example.com/gitlab/gitlab/blob/master/README.md
repository_storageStringExample: default
ssh_url_to_repoStringExample: git@gitlab.example.com:gitlab/gitlab.git
star_countIntegerExample: 1
tag_listArray of stringsExample: ["tag"]
topicsArray of stringsExample: ["topic"]
visibilityStringExample: public
web_urlStringExample: https://gitlab.example.com/gitlab/gitlab

APIEntitiesCiJobBasicWithProject

PropertyTypeDescription
allow_failureBoolean—
commitAPIEntitiesCommit—
coverageNumber (float)Example: 98.29
created_atString (date-time)Example: 2015-12-24T15:51:21.880Z
durationNumber (float)Time spent running
Example: 0.465
erased_atString (date-time)Example: 2015-12-24T18:00:29.728Z
failure_reasonStringExample: script_failure
finished_atString (date-time)Example: 2015-12-24T17:54:31.198Z
idInteger (int64)Example: 1
nameStringExample: deploy_to_production
pipelineAPIEntitiesCiPipelineBasic—
projectAPIEntitiesProjectIdentity—
queued_durationNumber (float)Time spent enqueued
Example: 0.123
refStringExample: main
stageStringExample: deploy
started_atString (date-time)Example: 2015-12-24T17:54:30.733Z
statusStringExample: waiting_for_resource
tagBoolean—
userAPIEntitiesUser—
web_urlStringExample: https://example.com/foo/bar/-/jobs/1

APIEntitiesCiPipelineBasic

PropertyTypeDescription
created_atString (date-time)Timestamp when the pipeline was created
Example: 2022-10-21T16:49:48.000+02:00
idInteger (int64)ID of the pipeline
Example: 1
iidIntegerInternal ID of the pipeline
Example: 2
project_idInteger (int64)ID of the project of the pipeline
Example: 3
refStringGit reference of the pipeline
Example: feature-branch
shaStringSHA of the commit the pipeline runs for
Example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52
sourceStringSource that triggered the pipeline
Example: push
statusStringStatus of the pipeline
Example: success
updated_atString (date-time)Timestamp when the pipeline was last updated
Example: 2022-10-21T16:49:48.000+02:00
web_urlStringURL of the pipeline in the GitLab UI
Example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61

APIEntitiesCiResetTokenResult

PropertyTypeDescription
tokenStringExample: your_runner_token
token_expires_atString (date-time)Example: 2025-01-01T00:00:00.000Z

APIEntitiesCiRunner

PropertyTypeDescription
activeBooleanIf true, the runner is allowed to receive jobs. Deprecated. Use paused instead
Example: true
created_atString (date-time)Example: 2025-05-03T00:00:00.000Z
created_byAPIEntitiesUserBasic—
descriptionStringExample: test-1-20150125
idInteger (int64)Example: 8
ip_addressStringAlways null. Deprecated. Use the runner manager fields in the GraphQL API instead
Example: 127.0.0.1
is_sharedBooleanExample: true
job_execution_statusStringAllowed values: active, idle
Example: idle
nameStringExample: test
onlineBooleanExample: true
pausedBooleanExample: false
runner_typeStringAllowed values: instance_type, group_type, project_type
Example: instance_type
statusStringExample: online

APIEntitiesCiRunnerDetails

PropertyTypeDescription
access_levelString—
activeBooleanIf true, the runner is allowed to receive jobs. Deprecated. Use paused instead
Example: true
architectureStringArchitecture of the runner, from its most recently contacted runner manager. Deprecated. Use the runner manager fields in the GraphQL API instead
contacted_atString—
created_atString (date-time)Example: 2025-05-03T00:00:00.000Z
created_byAPIEntitiesUserBasic—
descriptionStringExample: test-1-20150125
groupsArray of APIEntitiesBasicGroupDetails—
idInteger (int64)Example: 8
ip_addressStringAlways null. Deprecated. Use the runner manager fields in the GraphQL API instead
Example: 127.0.0.1
is_sharedBooleanExample: true
job_execution_statusStringAllowed values: active, idle
Example: idle
lockedString—
maintenance_noteString—
maximum_timeoutString—
nameStringExample: test
onlineBooleanExample: true
pausedBooleanExample: false
platformStringPlatform of the runner, from its most recently contacted runner manager. Deprecated. Use the runner manager fields in the GraphQL API instead
projectsArray of APIEntitiesBasicProjectDetails—
revisionStringRevision of the runner, from its most recently contacted runner manager. Deprecated. Use the runner manager fields in the GraphQL API instead
run_untaggedString—
runner_typeStringAllowed values: instance_type, group_type, project_type
Example: instance_type
statusStringExample: online
tag_listString—
token_expires_atString (date-time)Expiry time of the runner authentication token. null if the token does not expire. Returned only to users who can view sensitive runner data. For instance runners, only administrators
Example: 2025-01-01T00:00:00.000Z
uuidStringUUID of the runner. Introduced in GitLab 19.6
Example: 01966aa0-f383-7a6b-b694-cd4f2f96cca1
versionStringVersion of the runner, from its most recently contacted runner manager. Deprecated. Use the runner manager fields in the GraphQL API instead

APIEntitiesCiRunnerManager

PropertyTypeDescription
architectureStringExample: amd64
contacted_atStringExample: 2023-10-24T01:27:06.549Z
created_atStringExample: 2023-10-24T01:27:06.549Z
idInteger (int64)Example: 8
ip_addressStringExample: 127.0.0.1
job_execution_statusStringAllowed values: active, idle
Example: idle
platformStringExample: linux
revisionStringExample: 91a27b2a
statusStringExample: online
system_idStringExample: runner-1
versionStringExample: 16.11.0

APIEntitiesCiRunnerRegistrationDetails

PropertyTypeDescription
idInteger (int64)Example: 1
tokenStringExample: glrt-abc123
token_expires_atString (date-time)Example: 2025-01-01T00:00:00.000Z

APIEntitiesCiRunnerWithUuid

PropertyTypeDescription
activeBooleanIf true, the runner is allowed to receive jobs. Deprecated. Use paused instead
Example: true
created_atString (date-time)Example: 2025-05-03T00:00:00.000Z
created_byAPIEntitiesUserBasic—
descriptionStringExample: test-1-20150125
idInteger (int64)Example: 8
ip_addressStringAlways null. Deprecated. Use the runner manager fields in the GraphQL API instead
Example: 127.0.0.1
is_sharedBooleanExample: true
job_execution_statusStringAllowed values: active, idle
Example: idle
nameStringExample: test
onlineBooleanExample: true
pausedBooleanExample: false
runner_typeStringAllowed values: instance_type, group_type, project_type
Example: instance_type
statusStringExample: online
uuidStringUUID of the runner. Introduced in GitLab 19.6
Example: 01966aa0-f383-7a6b-b694-cd4f2f96cca1

APIEntitiesCommit

PropertyTypeDescription
author_emailStringEmail address of the commit author
Example: john@example.com
author_nameStringName of the commit author
Example: John Smith
authored_dateString (date-time)Date and time when the commit was authored
Example: 2012-05-28T04:42:42-07:00
committed_dateString (date-time)Date and time when the commit was committed
Example: 2012-05-28T04:42:42-07:00
committer_emailStringEmail address of the committer
Example: jack@example.com
committer_nameStringName of the committer
Example: Jack Smith
created_atString (date-time)Date and time when the commit was created. Identical to committed_date
Example: 2017-07-26T11:08:53.000+02:00
extended_trailersObjectGit trailers parsed from the commit message, with every value for each key
Example: {"Signed-off-by":["John Doe \u003cjohndoe@gitlab.com\u003e","Jane Doe \u003cjanedoe@gitlab.com\u003e"]}
idStringFull SHA of the commit
Example: 2695effb5807a22ff3d138d593fd856244e155e7
messageStringFull commit message
Example: Initial commit
parent_idsArray of stringsSHAs of the parent commits
Example: ["2a4b78934375d7f53875269ffd4f45fd83a84ebe"]
short_idStringShort SHA of the commit
Example: 2695effb
titleStringTitle of the commit message
Example: Initial commit
trailersObjectGit trailers parsed from the commit message. Duplicate keys include the last value only
Example: {"Merged-By":"Jane Doe janedoe@gitlab.com"}
web_urlStringURL to view the commit in the GitLab UI
Example: https://gitlab.example.com/janedoe/gitlab-foss/-/commit/ed899a2f4b50b4370feeea94676502b42383c746

APIEntitiesCustomAttribute

PropertyTypeDescription
keyStringExample: foo
valueStringExample: bar

APIEntitiesLicenseBasic

PropertyTypeDescription
html_urlStringExample: http://choosealicense.com/licenses/gpl-3.0
keyStringExample: gpl-3.0
nameStringExample: GNU General Public License v3.0
nicknameStringExample: GNU GPLv3
source_urlString—

APIEntitiesNamespaceBasic

PropertyTypeDescription
avatar_urlStringURL of the namespace avatar. For a group, null if no avatar is set
Example: https://example.com/avatar/12345
full_pathStringFull path of the namespace, including the paths of its parent groups
Example: group/my_project
idInteger (int64)ID of the namespace
Example: 2
kindStringType of the namespace: user, group, or project
Example: project
nameStringName of the namespace
Example: project
parent_idInteger (int64)ID of the parent namespace. null for top-level namespaces
Example: 1
pathStringPath of the namespace
Example: my_project
web_urlStringWeb URL of the namespace. For a user namespace, the URL of the user profile
Example: https://example.com/group/my_project

APIEntitiesProjectIdentity

PropertyTypeDescription
created_atString (date-time)Example: 2020-05-07T04:27:17.016Z
descriptionStringExample: desc
idInteger (int64)Example: 1
nameStringExample: project1
name_with_namespaceStringExample: John Doe / project1
pathStringExample: project1
path_with_namespaceStringExample: namespace1/project1

APIEntitiesUser

PropertyTypeDescription
avatar_pathStringExample: /user/avatar/28/The-Big-Lebowski-400-400.png
avatar_urlStringURL of the user’s avatar
Example: https://gravatar.com/avatar/1
bioStringBiography of the user
botBoolean—
created_atString (date-time)Creation date and time of the user account in ISO 8601 format
custom_attributesArray of APIEntitiesCustomAttribute—
discordStringDiscord user ID of the user
followersString—
followingString—
githubStringGitHub username of the user
idInteger (int64)ID of the user
Example: 1
is_followedString—
job_titleStringJob title of the user
linkedinStringLinkedIn username of the user
local_timeString—
locationStringLocation of the user
lockedBooleanIf true, the user account is locked, and the user cannot sign in until the lock expires or an administrator unlocks the account
nameStringName of the user. For a bot user, **** if the current user cannot read the bot’s project or group
Example: Administrator
organizationStringOrganization of the user
pronounsStringPronouns of the user
public_emailStringPublic email address of the user
Example: john@example.com
stateStringState of the user account. Possible values: active, blocked, ldap_blocked, blocked_pending_approval, banned, or deactivated
Example: active
twitterStringTwitter username of the user
usernameStringUsername of the user
Example: admin
web_urlStringURL of the user’s profile
Example: https://gitlab.example.com/root
website_urlStringWebsite of the user
work_informationString—

APIEntitiesUserBasic

PropertyTypeDescription
avatar_pathStringExample: /user/avatar/28/The-Big-Lebowski-400-400.png
avatar_urlStringURL of the user’s avatar
Example: https://gravatar.com/avatar/1
custom_attributesArray of APIEntitiesCustomAttribute—
idInteger (int64)ID of the user
Example: 1
lockedBooleanIf true, the user account is locked, and the user cannot sign in until the lock expires or an administrator unlocks the account
nameStringName of the user. For a bot user, **** if the current user cannot read the bot’s project or group
Example: Administrator
public_emailStringPublic email address of the user
Example: john@example.com
stateStringState of the user account. Possible values: active, blocked, ldap_blocked, blocked_pending_approval, banned, or deactivated
Example: active
usernameStringUsername of the user
Example: admin
web_urlStringURL of the user’s profile
Example: https://gitlab.example.com/root