---
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.
deprecated: true
---

> **Offline tests end on November 12, 2026**
>
> Test configs and dataset test runs are deprecated and stop working for every organization on November 12, 2026.
> Use [test suites](/documentation/tests/overview) instead; see
> [Move from test configs](/documentation/tests/overview#move-from-test-configs).

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. |
