---
title: "Share Prediction"
method: POST
path: "/api/predictions/{prediction_id}/share"
---

# Share Prediction

`POST /api/predictions/{prediction_id}/share`

## Request

- Base URL: `https://api.exploreyc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.exploreyc.com/api/predictions/{prediction_id}/share`
- Auth: none declared

Make a prediction public and shareable.

## Path parameters

- `prediction_id` string, required

## Request body

- SharePredictionRequest
  - `is_public` boolean
  - `share_message` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/exploreyc/apis/yc-company-scraper-api.md) - [All operations](https://skmtc.dev/exploreyc/apis/yc-company-scraper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exploreyc/apis/yc-company-scraper-api/revisions/d48bd3e241b8?raw)
