---
title: BaseResponse
seo:
  title: BaseResponse — TypeScript SDK
  description: Base fields shared by all scorer response types. (TypeScript SDK)
description: Base fields shared by all scorer response types.
---

Custom judges return one of the concrete subtypes
(`BinaryResponse`, `NumericResponse`, or `CategoricalResponse`)
from their `score()` method.

## Properties

| Prop | Type | Default | Description |
| - | - | - | - |
| `value?` | `string \| number \| boolean` | - | The score value. Type depends on the concrete response type. |
| `reason?` | `string` | - | Human-readable explanation of why this score was given. |
| `citations?` | `Citation[] \| null \| undefined` | - | Optional trace citations supporting this score. |
