Agents
Get workspace agent by ID
Changed onget/api/v2/workspaceagents/{workspaceagent}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/workspaceagents/{workspaceagent}
- AuthAPI key in header Coder-Session-Token
Path parameters
workspaceagentstring uuid required
Workspace agent ID
Response
OK
Example response
{
"health": {
"reason": "agent has lost connection"
}
}Changes
- info
endpoint added
- info