---
title: "Share Backtest Run"
method: POST
path: "/api/backtest/runs/{run_id}/share"
tags: ["Backtesting", "Beta"]
---

# Share Backtest Run

`POST /api/backtest/runs/{run_id}/share`

## Request

- Base URL: `https://api.zerogex.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zerogex.io/api/backtest/runs/{run_id}/share`
- Auth: HTTP bearer

Mint (or return) a public share token for a completed run.

Turns a run into a shareable "prove it" report at
``/backtesting/shared/<token>``. Owner-scoped; only completed runs qualify.

## Path parameters

- `run_id` integer, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zerogex/apis/zerogex-api.md) · [All operations](https://skmtc.dev/zerogex/apis/zerogex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zerogex/apis/zerogex-api/revisions/753b26bf0592?raw)
