GET
/v1/deployments/{deploymentId}Get deployment⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Returns a deployment by ID, including its current status derived from the underlying VM state.
Parameters
deploymentIdstringpathrequiredResponses
object
dataobjectrequiredShow child attributes
createdAtstring · date-timerequiredenvVarsobjectEnvironment variable names present on this compute version. Values are always redacted as "[redacted]" and must not be treated as deployed secret values.
foundryVersionIdstringrequiredidstringrequiredportMappingobjectShow child attributes
httpnumberpreviewDomainnull | stringrequiredserviceIdstringrequiredstatusstringrequiredtypestringrequiredurlstring · urirequired{
"data": {
"createdAt": "2026-06-09T00:00:00Z",
"envVars": {
"additionalProp1": "[redacted]"
},
"foundryVersionId": "string",
"id": "string",
"portMapping": {
"http": 0
},
"previewDomain": "string",
"serviceId": "string",
"status": "string",
"type": "deployment",
"url": "https://example.com"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}