---
title: "Fork Judge Prompt"
method: POST
path: "/api/v1/judge-prompts/{prompt_id}/fork"
tags: ["Judge Prompt Synthesis"]
---

# Fork Judge Prompt

`POST /api/v1/judge-prompts/{prompt_id}/fork`

## 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}/fork`
- Auth: none declared

Clone a public/unlisted artifact into the caller's account.

The source must be public or unlisted (the caller must have been
able to discover or be handed the URL). Forking carries the prompt
text and suggested model forward; provenance metadata is regenerated
with ``forked_from_id`` so the audit trail links back to the source.

``target_ranking_id`` is optional — when set, the fork attaches to
that ranking (which must be owned by the caller). When omitted, the
fork attaches to the SOURCE ranking only if the caller also owns
that ranking; otherwise the call requires ``target_ranking_id``.

## Path parameters

- `prompt_id` string, required

## Query parameters

- `target_ranking_id` string, nullable

## Response `201`

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)
