Agents
List Agent Keys
List all agent keys
GET
Response
200
application/json
OK
Example:
"gcc"
Example:
"1.22.4"
DEPRECATE top level metadata keys
Example:
"john.wick.local"
Unique ID of the resource
Example:
"8a4239fa-5116-4bbb-ad3c-ea1f294aac4a"
Example:
"Linux 9acfe93d8195 5.15.49-linuxkit"
Example:
""
Metadata contains attributes regarding the machine where the agent is being executed
- version - Version of the agent
- go-version - Agent build information
- compiler - Agent build information
- platform - The operating system architecture where the agent is running
- machine-id - The machine id of server
- kernel-version - The kernel version of the server
Example:
{
"compiler": "gcc",
"hostname": "johnwick.local",
"kernel-version": "Linux 9acfe93d8195 5.15.49-linuxkit",
"machine-id": "id",
"platform": "amd64",
"version": "1.23.14"
}
Mode of execution of the agent
- standard - Is the default mode, which is suitable to run the agent as a standalone process
- embedded - This mode is suitable when the agent needs to be run close to another process or application
Available options:
standard
, embedded
Example:
"standard"
Unique name of the resource
Example:
"default"
Example:
"amd64"
The status of the agent
- CONNECTED - The agent is connected with the gateway
- DISCONNECTED - The agent is disconnected from the gateway
Available options:
CONNECTED
, DISCONNECTED
Example:
"DISCONNECTED"
The token/key of the resource, this value is always empty for now
Example:
"1.23.10"