Get Agent
Http Method
GET
End Point
/api/agent-tokens/{tokenId}/agents
Placeholder Description Example
{tokenId} Token Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"tokenId" : 1 ,
"name" : "string" ,
"ipAddress" : "string" ,
"osName" : "string" ,
"osVersion" : "string" ,
"osArch" : "string" ,
"cpu" : 1 ,
"memory" : 1 ,
"temporal" : true ,
"paused" : true ,
"lastUsedDate" : "2025-05-03T06:01:04.614+00:00"
}
]
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> https://git.crazyhackgut.ru/api/agent-tokens/1/agents
Please wait...
Page is in error, reload to recover