---
title: "Judge Catalog Rows"
method: POST
path: "/public/judge"
tags: ["Enrich"]
---

# Judge Catalog Rows

`POST /public/judge`

## Request

- Base URL: `https://catalogapi.rastro.ai/api`
- URL: `https://catalogapi.rastro.ai/api/public/judge`
- Auth: HTTP bearer

Judge catalog rows against schema + quality criteria.

When catalog_id is provided, automatically loads the schema and the catalog's
readiness_config quality_prompt. The optional `prompt` field appends extra instructions.

## Headers

- `X-Organization-Id` string, nullable

## Request body

- JudgeCatalogRowsRequest: Request to judge catalog rows. Pulls schema + quality_prompt from catalog when catalog_id is provided. For multimodal judging (e.g. verifying images match product data), pass ``images`` as a dict mapping row index (string) to a list of image URLs. When images are present the judge uses a vision model automatically.
  - `rows` object[], required: Rows to evaluate
  - `catalog_id` string, nullable: Catalog ID — fetches schema and quality_prompt automatically
  - `schema` object, nullable: Inline schema (only needed if no catalog_id)
  - `prompt` string, nullable: Extra instructions (appended to catalog's quality_prompt if present)
  - `model` string: Model preset: fast, medium, high
  - `max_rows` integer: Max rows to judge per request
  - `images` object, nullable: Explicit image URLs per row index, e.g. {"0": ["https://..."]}

## Response `200`

Successful Response

- JudgeCatalogRowsResponse: Row-level quality judgments.
  - `judgments` object[]: Per-row judgments from the LLM
  - `meta` object: Model, row counts, etc.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rastro-ai/apis/rastro-public-api.md) - [All operations](https://skmtc.dev/rastro-ai/apis/rastro-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rastro-ai/apis/rastro-public-api/revisions/57c8ed4854bb?raw)
