---
title: TestConfig
seo:
  title: TestConfig — TypeScript SDK
  description: >-
    Types for the offline-tests SDK surface: TestConfig, OfflineTestResult,
    JudgeVersionPin, AgentFunction, PassConditionFn. (TypeScript SDK)
description: >-
  Types for the offline-tests SDK surface: TestConfig, OfflineTestResult,
  JudgeVersionPin, AgentFunction, PassConditionFn.
---

A reusable offline-test configuration (a dataset + a set of platform judges).
Created via `client.offlineTests.createConfig()`.

## Properties

| Prop | Type | Default | Description |
| - | - | - | - |
| `id?` | `string` | - | Unique test config id. |
| `name?` | `string` | - | Config name. |
| `datasetId?` | `string` | - | The dataset evaluated by this config. |
| `description?` | `string \| null \| undefined` | - | Optional human-readable description. |
| `createdAt?` | `string \| null \| undefined` | - | ISO-8601 creation timestamp. |
| `judges?` | `Record<string, unknown>[]` | - | The judge membership rows as returned by the server. |
