---
title: "CreateAgentExecutionConversationToken"
method: POST
path: "/gitpod.v1.AgentService/CreateAgentExecutionConversationToken"
tags: ["gitpod.v1.AgentService"]
---

# CreateAgentExecutionConversationToken

`POST /gitpod.v1.AgentService/CreateAgentExecutionConversationToken`

Creates a token for conversation access with a specific agent run.

 This method generates a temporary token that can be used to securely
 connect to an ongoing agent conversation, for example in a web UI.

 ### Examples

 - Create a token to join an agent run conversation in a front-end application:

   ```yaml
   agentExecutionId: "6fa1a3c7-fbb7-49d1-ba56-1890dc7c4c35"
   ```

## Request body

- GitpodV1CreateAgentExecutionConversationTokenRequest
  - `agentExecutionId` string, uuid

## Response `200`

Success

- GitpodV1CreateAgentExecutionConversationTokenResponse
  - `token` string

## 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/versions/44d50c2ac284/schema)
