Skip to main content
POST
Build a computer environment

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

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

Body

application/json

Accepts an empty JSON object.

The body is of type object.

Response

The build was accepted.

A build was accepted (202). It runs in the background — poll the builds list for status.

id
string
required

The environment id.

buildId
string
required
reused
boolean
required

True when an identical prior build was reused instead of rebuilding.