---
title: "Create a public access token for a run"
method: POST
path: "/v1/knowledge-base/runs/{runId}/token"
tags: ["Knowledge Base"]
---

# Create a public access token for a run

`POST /v1/knowledge-base/runs/{runId}/token`

Create a public access token for a run in Betayum. Upload source documents, process them for retrieval, and manage reusable manual answers that power questionnaires and AI policy workflows.

## Path parameters

- `runId` string, required

## Response `200`

Public access token created

## Changes

- **2026-03-05** `946edaa856a9` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - the endpoint scheme security `apikey` was added to the API

[Change history](https://skmtc.dev/om-network/apis/betayum-api/changes/v1/knowledge-base/runs/:runId/token/post.md)

---

[API](https://skmtc.dev/om-network/apis/betayum-api.md) · [All operations](https://skmtc.dev/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/om-network/betayum-api/revisions/95679a9aa625/schema)
