---
title: "Set Visibility"
method: PATCH
path: "/api/v1/judge-prompts/{prompt_id}/visibility"
tags: ["Judge Prompt Synthesis"]
---

# Set Visibility

`PATCH /api/v1/judge-prompts/{prompt_id}/visibility`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/judge-prompts/{prompt_id}/visibility`
- Auth: none declared

Set the visibility of an artifact — owner-only.

- ``private``: owner only (default for newly-synthesised artifacts)
- ``unlisted``: anyone with the URL can view + fork
- ``public``: discoverable in `GET /judge-prompts/public`

## Path parameters

- `prompt_id` string, required

## Request body

- VisibilityUpdate
  - `visibility` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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