Status Get agent connection status
GET
/api/status

Authentication

Bearer Token (BearerAuth)

Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Responses

200
Agent status

Response Fields:

  • authenticated (boolean)

  • connected (boolean)

  • country (string)

  • has_credentials (boolean)

  • ip (string)

  • server (string)

Example:

{
  "authenticated": true,
  "connected": true,
  "country": "string",
  "has_credentials": true,
  "ip": "string",
  "server": "string"
}