---
title: "CreateRunnerLogsToken"
method: POST
path: "/gitpod.v1.RunnerService/CreateRunnerLogsToken"
tags: ["gitpod.v1.RunnerService"]
---

# CreateRunnerLogsToken

`POST /gitpod.v1.RunnerService/CreateRunnerLogsToken`

Creates an access token for runner logs and debug information.

 Generated tokens are valid for one hour and provide runner-specific access permissions.
 The token is scoped to a specific runner and can be used to access support bundles.

 ### Examples

 - Generate runner logs token:

   ```yaml
   runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   ```

## Request body

- GitpodV1CreateRunnerLogsTokenRequest
  - `runnerId` string, uuid — runner_id specifies the runner for which the logs token should be created. +required

## Response `200`

Success

- GitpodV1CreateRunnerLogsTokenResponse
  - `accessToken` string, required — access_token is the token that can be used to access the logs and support bundle of the runner

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
