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

# CreateSearchAccessToken

`POST /gitpod.v1.AgentService/CreateSearchAccessToken`

Creates a token for search access.

 Use this method to generate an access token for search proxy integrations.

## Request body

- GitpodV1CreateSearchAccessTokenRequest
  - `empty` boolean

## Response `200`

Success

- GitpodV1CreateSearchAccessTokenResponse
  - `accessToken` string

## Other responses

- `default` — Error

## Changes

- **2026-04-02** `dabc0ff98cd7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.AgentService/CreateSearchAccessToken/post.md)

---

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