v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Agents

Recreate devcontainer for workspace agent

post/api/v2/workspaceagents/{workspaceagent}/containers/devcontainers/{devcontainer}/recreate

Path parameters

workspaceagentstring uuid required

Workspace agent ID

devcontainerstring required

Devcontainer ID

Response

Accepted

detailstring

Detail is a debug message that provides further insight into why the action failed. This information can be technical and a regular golang err.Error() text.

  • "database: too many open connections"
  • "stat: too many open files"
messagestring

Message is an actionable message that depicts actions the request took. These messages should be fully formed sentences with proper punctuation. Examples:

  • "A user has been created."
  • "Failed to create a user."