---
title: "Get Custom Harness Prompts"
method: GET
path: "/v1/custom-harnesses/{harness_id}/prompts"
tags: ["Diamond", "custom-harnesses"]
---

# Get Custom Harness Prompts

`GET /v1/custom-harnesses/{harness_id}/prompts`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/vijilai/apis/vijil-console-api-combined/docs/v1/custom-harnesses/:harness_id/prompts/get.ts> (a function with typed inputs; its response is checked against the schema)

Return taxonomy prompts from ``harness_prompts.jsonl`` for a custom harness.

Served by service-diamond; loads JSONL from the team custom-harness S3 path.
Does not read Trust Score ``prompt.jsonl``.

Returns an empty list if the file is missing or empty (e.g. harness still in DRAFT).

Requires agent:read permission.

## Path parameters

- `harness_id` string, uuid, required

## Query parameters

- `team_id` string, uuid, nullable: Team ID (required)

## Response `200`

Successful Response

- HarnessPromptsResponse: Response model for taxonomy prompts from ``harness_prompts.jsonl`` (not ``prompt.jsonl``).
  - `prompts` CustomHarnessPrompt[]
    - `dimension_name` string, required
    - `prompt_text` string, required
    - `pass_criteria` string, required
    - `lineage` CustomHarnessLineage, required: Structured lineage for a custom-harness taxonomy prompt (``harness_prompts.jsonl``).
      - `principle` string
      - `theme` string
      - `policy_section` string
      - `persona` string
      - `diagnostic_hooks` string[]
  - `count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vijilai/apis/vijil-console-api-combined.md) - [All operations](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/llms.txt) - [OpenAPI document](https://skmtc.dev/vijilai/apis/vijil-console-api-combined/revisions/a8b2ee2b2d06?raw)
