Builds
Get provisioner state for workspace build
Changed onget/api/v2/workspacebuilds/{workspacebuild}/state
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/workspacebuilds/{workspacebuild}/state
- AuthAPI key in header Coder-Session-Token
Path parameters
workspacebuildstring required
Workspace build ID
Response
OK
Example response
{
"resources": [
{
"agents": [
{
"health": {
"reason": "agent has lost connection"
}
}
]
}
]
}Changes
- info
endpoint added
- info