> ## Documentation Index
> Fetch the complete documentation index at: https://docs.selfbench.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# API: Publish and Export

> Release a public repository's results to selfbench.dev, and export tasks for customers.

Only public repositories, and groups of them, can be released to selfbench.dev.

| Method | Route | Does |
| - | - | - |
| `GET`, `POST` | `{repo}/releases` · `/api/orgs/{org}/groups/{slug}/releases` | List or publish releases |
| `GET` | `…/releases/preview` | What a release would publish |
| `POST` | `…/releases/{id}/withdraw` | Withdraw one |
| `GET`, `POST` | `{scope}/evaluations/exports` · `/{id}/download` · `/{id}/revoke` | Customer exports of image-backed tasks |

## Request Body

| Route | Body |
| - | - |
| `POST {repo}/releases` | `{ settings: [keys], head, fingerprint, publishTasks?, publishTrials?, publishSummaries? }` |

Exports include tasks, hidden tests, and reference solutions unencrypted; see [Sharing Tasks](https://docs.selfbench.dev/concepts/how-it-works.md#sharing-tasks).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.