---
title: JudgevalConfig
seo:
  title: JudgevalConfig — TypeScript SDK
  description: Configuration options for the Judgeval client. (TypeScript SDK)
description: Configuration options for the Judgeval client.
---

Credentials are resolved in order: explicit arguments first, then
environment variables `JUDGMENT_API_KEY`, `JUDGMENT_ORG_ID`, and
`JUDGMENT_API_URL`.

## Properties

| Prop | Type | Default | Description |
| - | - | - | - |
| `projectName?` | `string` | - | The project name on the Judgment platform. |
| `apiKey?` | `string \| undefined` | - | Judgment API key. Defaults to JUDGMENT_API_KEY env var. |
| `organizationId?` | `string \| undefined` | - | Judgment organization ID. Defaults to JUDGMENT_ORG_ID env var. |
| `apiUrl?` | `string \| undefined` | - | Judgment API URL. Defaults to JUDGMENT_API_URL env var. |
