Resources Agent Get Basic Info
Get Basic Info
Http Method
GET
End Point
/api/agents/{agentId}
Placeholder Description Example
{agentId} Agent 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-03T05:45:14.782+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/agents/1
Please wait...
Page is in error, reload to recover