Dominio de acciones

runner

Todas las acciones que este dominio expone vía gitlab_execute_action, del manifiesto gitlab://tools. Cada entrada se despliega a su descripción completa y sus parámetros obligatorios.

36 · acciones15 · destructivas14 · solo lectura

Contado contra gitlab.com, que es el único host con el que habla este endpoint, con un token que resuelve como Ultimate: para usarlo contra una instancia self-managed, levanta tú el servidor — su documentación lo cubre. El catálogo depende del token que pregunta, así que el recuento se mueve con su tier y con sus permisos: un token Free ve menos acciones, quien es miembro de un grupo con plan de pago ve las de ese plan, y los dominios de administración solo aparecen a tokens autorizados a usarlos. Por eso las cifras difieren en otros sitios: el proyecto upstream cuenta 872 operaciones en Community Edition y hasta 1.099 en el tier más alto de GitLab.com, mientras que este despliegue publica 980 porque es solo-OAuth y actúa con tu token, así que los dominios de administración que una cuenta sin admin no puede llamar no aparecen nunca. Las tres describen el mismo catálogo, contado desde tres sitios distintos.

Cada entrada dice también qué necesita un token de acceso personal fine-grained de GitLab para ejecutarla, tal como lo declara GitLab 19.6.1: todos los permisos de una línea, en uno de los ámbitos indicados. Cuando hay alternativas, basta con cualquiera. Lo que sigue a «Algunas llamadas necesitan además» solo lo necesitan las llamadas que envían esa petición, y las partes de la respuesta que GitLab sirve vacías a ese token van aparte.

Volver a la ficha del servidor

  1. runner.controller_create

    Runner Controller Create

    Register a new runner controller (admin-only, experimental API) with optional description and state (enabled/disabled/dry_run). Returns: the created controller with id, description, state, and timestamps. See also: runner.controller_get, runner.controller_update, runner.controller_list.

    Parámetros obligatorios: Sin parámetros obligatorios

    Token fine-grained: Runner Controller: Create en instancia

  2. runner.controller_delete

    Runner Controller Deletedestructiva

    Delete a runner controller by controller_id (destructive, admin-only, experimental API). Returns: a success confirmation. See also: runner.controller_list, runner.controller_get, runner.controller_update.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Delete en instancia

  3. runner.controller_get

    Runner Controller Getsolo lectura

    Get one runner controller by controller_id (admin-only, experimental API). Returns: the controller with id, description, state, connected flag, and created/updated timestamps. See also: runner.controller_list, runner.controller_update, runner.controller_delete.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Read en instancia

  4. runner.controller_list

    Runner Controller Listsolo lectura

    List registered runner controllers (admin-only, experimental API) with offset pagination. Returns: controllers with id, description, state, created/updated timestamps, plus pagination metadata. See also: runner.controller_get, runner.controller_create, runner.controller_update.

    Parámetros obligatorios: Sin parámetros obligatorios

    Token fine-grained: Runner Controller: Read en instancia

  5. runner.controller_scope_add_instance

    Runner Controller Scope Add Instance

    Grant a runner controller the instance-level scope (admin only). Returns: the created instance-level scoping with created/updated timestamps. See also: runner.controller_scope_remove_instance, runner.controller_scope_list, runner.controller_scope_add_runner.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Update en instancia

  6. runner.controller_scope_add_runner

    Runner Controller Scope Add Runner

    Scope a runner controller to a specific instance runner by runner ID (admin only). Returns: the created runner-level scoping with the runner ID and created/updated timestamps. See also: runner.controller_scope_remove_runner, runner.controller_scope_list, runner.controller_scope_add_instance.

    Parámetros obligatorios: controller_id (integer), runner_id (integer)

    Token fine-grained: Runner Controller: Update en instancia

  7. runner.controller_scope_list

    Runner Controller Scope Listsolo lectura

    List every scope assigned to a runner controller (admin only). Returns: instance-level scopings with timestamps and runner-level scopings with runner IDs and timestamps. See also: runner.controller_scope_add_instance, runner.controller_scope_add_runner, runner.controller_scope_remove_runner.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Read en instancia

  8. runner.controller_scope_remove_instance

    Runner Controller Scope Remove Instancedestructiva

    Revoke a runner controller's instance-level scope (admin only, destructive). Returns: a success confirmation naming the removed instance-level scope. See also: runner.controller_scope_add_instance, runner.controller_scope_list, runner.controller_scope_remove_runner.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Update en instancia

  9. runner.controller_scope_remove_runner

    Runner Controller Scope Remove Runnerdestructiva

    Remove a specific runner from a runner controller's scope by runner ID (admin only, destructive). Returns: a success confirmation naming the removed runner scope. See also: runner.controller_scope_add_runner, runner.controller_scope_list, runner.controller_scope_remove_instance.

    Parámetros obligatorios: controller_id (integer), runner_id (integer)

    Token fine-grained: Runner Controller: Update en instancia

  10. runner.controller_token_create

    Runner Controller Token Create

    Create a runner controller token (admin-only). Returns: the new token including its one-time secret value, id, runner controller id, and description. See also: runner.controller_token_list, runner.controller_token_rotate, runner.controller_token_revoke.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller Token: Create en instancia

  11. runner.controller_token_get

    Runner Controller Token Getsolo lectura

    Get one runner controller token by id (admin-only). Returns: the token's id, runner controller id, description, last-used time, and timestamps. See also: runner.controller_token_list, runner.controller_token_rotate, runner.controller_token_revoke.

    Parámetros obligatorios: controller_id (integer), token_id (integer)

    Token fine-grained: Runner Controller Token: Read en instancia

  12. runner.controller_token_list

    Runner Controller Token Listsolo lectura

    List runner controller tokens for a controller (admin-only). Returns: each token's id, runner controller id, description, last-used time, and timestamps, with pagination metadata. See also: runner.controller_token_get, runner.controller_token_create, runner.controller_token_revoke.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller Token: Read en instancia

  13. runner.controller_token_revoke

    Runner Controller Token Revokedestructiva

    Revoke a runner controller token permanently (admin-only). Returns: a success confirmation that the runner controller token was deleted. See also: runner.controller_token_list, runner.controller_token_get, runner.controller_token_rotate.

    Parámetros obligatorios: controller_id (integer), token_id (integer)

    Token fine-grained: Runner Controller Token: Revoke en instancia

  14. runner.controller_token_rotate

    Runner Controller Token Rotatedestructiva

    Rotate a runner controller token (admin-only). Requires confirmation. Returns: the token with its newly issued one-time secret value and unchanged id. See also: runner.controller_token_get, runner.controller_token_list, runner.controller_token_revoke.

    Parámetros obligatorios: controller_id (integer), token_id (integer)

    Token fine-grained: Runner Controller Token: Rotate en instancia

  15. runner.controller_update

    Runner Controller Update

    Update a runner controller's description or state (enabled/disabled/dry_run) by controller_id (admin-only, experimental API). Returns: the updated controller with id, description, state, and timestamps. See also: runner.controller_get, runner.controller_list, runner.controller_delete.

    Parámetros obligatorios: controller_id (integer)

    Token fine-grained: Runner Controller: Update en instancia

  16. runner.delete_by_token

    Runner Delete By Tokendestructiva

    Delete a registered runner by its authentication token. Returns: a success confirmation. See also: runner.delete_registered, runner.remove.

    Parámetros obligatorios: token (string)

    Token fine-grained: la concesión no lo juzga (GitLab autentica esta petición de otra forma)

  17. runner.delete_registered

    Runner Delete Registereddestructiva

    Delete a registered runner by its numeric runner_id. Returns: a success confirmation. See also: runner.delete_by_token, runner.remove.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Delete en proyecto, grupo o instancia

  18. runner.disable_project

    Runner Disable Projectdestructiva

    Remove a runner assignment from a project by project_id and runner_id. Returns: a success confirmation. See also: runner.enable_project, runner.list_project.

    Parámetros obligatorios: project_id (string|integer), runner_id (integer)

    Token fine-grained: Runner: Assign en proyecto

  19. runner.enable_project

    Runner Enable Projectdestructiva

    Assign an existing runner to a project by project_id and runner_id. Requires confirmation. Returns: the enabled runner. See also: runner.disable_project, runner.list_project.

    Parámetros obligatorios: project_id (string|integer), runner_id (integer)

    Token fine-grained: Runner: Assign en proyecto

  20. runner.get

    Runner Getsolo lectura

    Get full configuration for one runner by numeric runner_id. Returns: runner details including tags, locked, access level, maximum timeout, contact time, and associated groups/projects. See also: runner.list, runner.update, runner.jobs.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Read en proyecto, grupo o instancia

  21. runner.jobs

    Runner Jobssolo lectura

    List jobs processed by a runner, with status/order/sort filters and pagination. Returns: jobs with id, name, status, stage, ref, and duration, plus pagination metadata. See also: runner.get, job.get.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Read en proyecto, grupo o instancia

  22. runner.list

    Runner Listsolo lectura

    List runners owned by the authenticated user, with type/status/tag/scope filters and pagination. Returns: runners with id, name, type, status, paused/shared/online flags, plus pagination metadata. See also: runner.get, runner.list_all, runner.list_project.

    Parámetros obligatorios: Sin parámetros obligatorios

    Token fine-grained: Runner: Read en usuario

  23. runner.list_all

    Runner List Allsolo lectura

    List every runner on the instance (admin token required), with type/status/tag/scope filters and pagination. Returns: runners with id, name, type, status, flags, plus pagination metadata. See also: runner.list, runner.get.

    Parámetros obligatorios: Sin parámetros obligatorios

    Token fine-grained: Runner: Read en instancia

  24. runner.list_group

    Runner List Groupsolo lectura

    List runners available in a group (specific and shared), with type/status/tag filters and pagination. Returns: runners with id, name, type, status, flags, plus pagination metadata. See also: runner.list, runner.list_project.

    Parámetros obligatorios: group_id (string|integer)

    Token fine-grained: Runner: Read en grupo

  25. runner.list_managers

    Runner List Managerssolo lectura

    List the managers of a runner by runner_id. Returns: runner managers with system id, version, revision, platform, architecture, status, and IP. See also: runner.get, runner.list.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Read en proyecto, grupo o instancia

  26. runner.list_project

    Runner List Projectsolo lectura

    List runners assigned to a project, with type/status/tag/scope filters and pagination. Returns: runners with id, name, type, status, flags, plus pagination metadata. See also: runner.enable_project, runner.disable_project, runner.list.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Runner: Read en proyecto

  27. runner.register

    Runner Register

    Register a new runner with a registration token, optional info hashmap, tags, and configuration. Returns: the created runner including its authentication token. See also: runner.verify, runner.list.

    Parámetros obligatorios: token (string)

    Token fine-grained: la concesión no lo juzga (GitLab autentica esta petición de otra forma)

  28. runner.remove

    Runner Removedestructiva

    Remove (unregister) a runner by numeric runner_id. Returns: a success confirmation. See also: runner.disable_project, runner.delete_registered, runner.get.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Delete en proyecto, grupo o instancia

  29. runner.reset_group_reg_token

    Runner Reset Group Reg Tokendestructiva

    Reset a group's runner registration token by group_id (deprecated). Requires confirmation. Returns: the new registration token and its expiry. See also: runner.reset_instance_reg_token, runner.reset_project_reg_token.

    Parámetros obligatorios: group_id (string|integer)

    Token fine-grained: Runner Registration Token: Reset en grupo

  30. runner.reset_instance_reg_token

    Runner Reset Instance Reg Tokendestructiva

    Reset the instance-level runner registration token (deprecated, admin only). Requires confirmation. Returns: the new registration token and its expiry. See also: runner.reset_group_reg_token, runner.reset_project_reg_token.

    Parámetros obligatorios: Sin parámetros obligatorios

    Token fine-grained: Runner Registration Token: Reset en instancia

  31. runner.reset_project_reg_token

    Runner Reset Project Reg Tokendestructiva

    Reset a project's runner registration token by project_id (deprecated). Requires confirmation. Returns: the new registration token and its expiry. See also: runner.reset_instance_reg_token, runner.reset_group_reg_token.

    Parámetros obligatorios: project_id (string|integer)

    Token fine-grained: Runner Registration Token: Reset en proyecto

  32. runner.reset_token

    Runner Reset Tokendestructiva

    Reset a runner's authentication token by runner_id. Requires confirmation. Returns: the new token and its expiry. See also: runner.verify, runner.get.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Update en proyecto, grupo o instancia

  33. runner.reset_token_by_token

    Runner Reset Token By Tokendestructiva

    Reset a runner's authentication token with its current authentication token. Requires confirmation. Returns: the new token and its expiry. See also: runner.verify, runner.reset_token.

    Parámetros obligatorios: token (string)

    Token fine-grained: la concesión no lo juzga (GitLab autentica esta petición de otra forma)

  34. runner.router_discovery

    Runner Router Discoverysolo lectura

    Discover the Job Router information for a runner by its authentication token (GitLab 18.7 or later, behind feature flags). Returns: the Job Router server URL. See also: runner.verify, runner.get.

    Parámetros obligatorios: token (string)

    Token fine-grained: la concesión no lo juzga (GitLab autentica esta petición de otra forma)

  35. runner.update

    Runner Update

    Update a runner's configuration (description, pause state, tags, locked, access level, timeout) by runner_id. Returns: the updated runner details. See also: runner.get, runner.remove.

    Parámetros obligatorios: runner_id (integer)

    Token fine-grained: Runner: Update en proyecto, grupo o instancia

  36. runner.verify

    Runner Verifysolo lectura

    Verify that a runner authentication token is valid. Returns: a success confirmation when the token authenticates. See also: runner.register, runner.reset_token.

    Parámetros obligatorios: token (string)

    Token fine-grained: la concesión no lo juzga (GitLab autentica esta petición de otra forma)