Skip to main content
GET
Preview what an environment resolves to

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.

environmentId
string
required

Project environment ID, as returned by the project's environment list.

Response

The resolved execution inputs.

What an environment resolves to right now: the same resolution an eval run performs.

environment
object
required
hostId
string
required
hostName
string
required
hostConfigId
string
required

The host's config at resolve time: hosts rotate configs live, so this can change without the environment's revision changing.

selectedServerIds
string[]
required

The closed server set.

effectiveServerIds
string[]
required

The servers a run actually connects.

servers
object[]
required

Connectable projection of effectiveServerIds, healed to the current live servers.

modelId
string

The environment's stored override, when it sets one.

effectiveModelId
string

The model this environment WILL RUN: the override if it has one, else the host config's. Always present on a successful resolve: an environment with no model anywhere cannot be resolved for launch and fails with 409 details.reason: "environment_model_required".

modelSource
enum<string>

Which of the two supplied effectiveModelId.

Available options:
environment,
host
serverAttachmentId
string