v1

latestSwagger 2.02026-07-13285166341.1 KB
Agents

Get Agent associated with the current user

Gets the Agent associated with the current user. When successful, the response is the requested Agent. If unsuccessful, an appropriate ApiError is returned.

get/api/v2/agents/Current

Response

OK

AgentIDinteger

The id of the Agent

UserIDinteger required

The UserID of the Agent

MachineNamestring required

The machine name of the computer the agent is running on

KeepAliveIntervalinteger required

The 'Heartbeat Interval' used by the Build Agent.