Skip to main content
POST
Attach one environment to a suite (atomic append)

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.

suiteId
string
required

Eval suite ID, as returned by POST /eval-runs.

Body

application/json
environmentId
string
required

Response

The suite's attachments after the call.

suiteId
string
required
attached
boolean
required

false when it was ALREADY attached — a no-op, not a failure, which is what lets a retried compose-and-run converge.

environmentIds
string[]
required

The suite's attachments after the call, in attach order.