diff --git a/doc/api/runners.md b/doc/api/runners.md index 3c3a83b67e37c1d888765780b6555f26d14b04e0..2b31c1cc06488db0f3f9efe762dcaf76f037c4cb 100644 --- a/doc/api/runners.md +++ b/doc/api/runners.md @@ -370,7 +370,7 @@ GET /runners/:id/jobs | `id` | integer | yes | The ID of a runner | | `status` | string | no | Status of the job; one of: `running`, `success`, `failed`, `canceled` | | `order_by`| string | no | Order jobs by `id`. | -| `sort` | string | no | Sort jobs in `asc` or `desc` order (default: `desc`) | +| `sort` | string | no | Sort jobs in `asc` or `desc` order (default: `desc`). Specify `order_by` as well, including for `id`. | ```shell curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/runners/1/jobs?status=running"