Skip to main content
POST
Create an eval suite (author-only, does not run)

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

Body

application/json

Author-only suite-create body. A suite-level default model (and optional provider) applies to every test unless the test overrides it.

name
string
required

Suite name.

Minimum string length: 1
serverIds
string[]
required

Servers (by canonical project ID) the suite's cases run against.

Minimum array length: 1
model
string
required

Suite-level default model id (e.g. anthropic/claude-haiku-4.5). Used for any test that omits model.

Minimum string length: 1
tests
object[]
required

Test cases to create in the suite.

Required array length: 1 - 100 elements
description
string
serverNames
string[]

Optional display names, parallel to serverIds.

provider
string

Optional suite-level default provider. When omitted, the provider is derived from a provider/model id.

passCriteria
object
tags
string[]

Accepted for forward-compat; not persisted today (no-op).

Response

The suite was created.

suiteId
string
required
name
string
required
caseUpsert
object
required

Per-case create outcomes. Partial failures don't abort the suite; an all-failed new suite is rejected with VALIDATION_ERROR.

servers
object[]

The servers attached to the suite. name is present when supplied.