Coder.comC
Coder.com14mo ago
20 replies
Andrej

`coder_agent` METADATA not working in Coder API

When using coder agent metadata, the behaviour is correct in the UI (the value is displayed based on the script definition), but when calling curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacename} . The instance that has the agent assigned has a json parameter agents , but there is no corresponding metadata to the one defined in the coder agent. How to access coder agent metadata?
Was this page helpful?