Put v0 city by city name patches agents

Changed on
put/v0/city/{cityName}/patches/agents

Request

  • The document declares no server URL.
  • Auth: none declared. Required headers: X-GC-Request

Path parameters

cityNamestring required

City name.

Headers

X-GC-Requeststring required

Anti-CSRF header required on mutation requests. Any non-empty value is accepted; the header's presence is what the server checks.

Request body

dirstring

Agent directory scope (legacy targeting key; prefer rig).

envobject

Override environment variables.

namestring

Agent name.

providerstring

Override the agent's provider.

rigstring

Rig targeting key. "*" matches the agent name across all rigs and city. Mutually exclusive with dir.

scopestring

Override agent scope.

suspendedboolean

Override suspended state.

tmux_aliasstring

Override tmux session name template.

work_dirstring

Override session working directory.

Response

OK

agent_patchstring

Agent patch qualified name.

provider_patchstring

Provider patch name.

rig_patchstring

Rig patch name.

statusstring required

Operation result.

Example response

{
  "status": "ok"
}

Changes