resume_environment

Generated automatically from the published contract sources.

Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.

A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/resume_environment, with a bearer credential and the action's payload as the JSON body.

Contract description

End a halt: the hostname answers again, every schedule row of the environment restarts from the resume instant, and the compute a halt stopped is started. That compute is production's, or a Pro application's development compute. A Free or Standard development environment starts on its next request. A deploy to a halted development environment also ends its halt; a promote to halted production waits for this act.

Access and action metadata

{
  "name": "resume_environment",
  "resource": "environment",
  "tier": "reversible",
  "summary": "End a halt: the hostname answers again, every schedule row of the environment restarts from the resume instant, and the compute a halt stopped is started — production's, or a Pro application's development compute; a Free or Standard development environment starts on its next request. A resume on a running environment answers `unchanged`; a deploy to a halted development environment also ends its halt.",
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true,
    "openWorldHint": true
  }
}

MCP catalog entry

{
  "name": "resume_environment",
  "tier": "reversible",
  "scenario": "CHI-L0-09",
  "summary": "End a halt: the hostname answers again, every schedule row of the environment restarts from the resume instant, and the compute a halt stopped is started. That compute is production's, or a Pro application's development compute. A Free or Standard development environment starts on its next request. A deploy to a halted development environment also ends its halt; a promote to halted production waits for this act.",
  "owners": [
    "PLD-L0-41",
    "PLD-L0-40"
  ]
}

request

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["application","environment"]
/properties/application The application id, from `list_applications`.

Type: string
/properties/environment One of the platform's two environments, `development` or `production`.

Type: string
Pattern: ^(development|production)$

response

JSON pointer Description and constraints
"" (root) The environment's standing halted state after the call; `unchanged` where a halt found the environment halted or a resume found it running (PLD-L0-41).

Type: object
Required fields: ["contract_version","application","environment","halted","outcome"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/application Type: string
/properties/environment Type: string
/properties/halted Null where the environment is running; otherwise the halt's instant and author (PLD-L0-41).

Type: ["object","null"]
Required fields: ["at","by"]
/properties/halted/properties/at The instant the halt began, in UTC (ISO 8601).

Type: string
/properties/halted/properties/by Who halted the environment: `developer` through `halt_environment`, or `platform` through the activity cap of the daily pass (PLD-L0-41).

Type: string
Allowed values: ["developer","platform"]
/properties/outcome Type: string
Allowed values: ["halted","resumed","unchanged"]

Complete payload contract

{
  "request": {
    "type": "object",
    "required": [
      "application",
      "environment"
    ],
    "properties": {
      "application": {
        "type": "string",
        "description": "The application id, from `list_applications`."
      },
      "environment": {
        "type": "string",
        "pattern": "^(development|production)$",
        "description": "One of the platform's two environments, `development` or `production`."
      }
    }
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "application",
      "environment",
      "halted",
      "outcome"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call."
      },
      "application": {
        "type": "string"
      },
      "environment": {
        "type": "string"
      },
      "halted": {
        "type": [
          "object",
          "null"
        ],
        "required": [
          "at",
          "by"
        ],
        "properties": {
          "at": {
            "type": "string",
            "description": "The instant the halt began, in UTC (ISO 8601)."
          },
          "by": {
            "type": "string",
            "enum": [
              "developer",
              "platform"
            ],
            "description": "Who halted the environment: `developer` through `halt_environment`, or `platform` through the activity cap of the daily pass (PLD-L0-41)."
          }
        },
        "description": "Null where the environment is running; otherwise the halt's instant and author (PLD-L0-41)."
      },
      "outcome": {
        "type": "string",
        "enum": [
          "halted",
          "resumed",
          "unchanged"
        ]
      }
    },
    "description": "The environment's standing halted state after the call; `unchanged` where a halt found the environment halted or a resume found it running (PLD-L0-41)."
  }
}

Shared contracts