TeamCity · Capability
TeamCity REST API — Agents
TeamCity REST API — Agents. 6 operations. Lead operation: Get All Agents. Self-contained Naftiko capability covering one Teamcity business surface.
What You Can Do
GET
Getallagents
— Get All Agents
/v1/agents
GET
Getagent
— Get Agent
/v1/agents/{agentlocator}
GET
Getagentauthorizedstatus
— Get Agent Authorized Status
/v1/agents/{agentlocator}/authorized
PUT
Setagentauthorizedstatus
— Set Agent Authorized Status
/v1/agents/{agentlocator}/authorized
GET
Getagentenabledstatus
— Get Agent Enabled Status
/v1/agents/{agentlocator}/enabled
PUT
Setagentenabledstatus
— Set Agent Enabled Status
/v1/agents/{agentlocator}/enabled
MCP Tools
get-all-agents
Get All Agents
read-only
idempotent
get-agent
Get Agent
read-only
idempotent
get-agent-authorized-status
Get Agent Authorized Status
read-only
idempotent
set-agent-authorized-status
Set Agent Authorized Status
idempotent
get-agent-enabled-status
Get Agent Enabled Status
read-only
idempotent
set-agent-enabled-status
Set Agent Enabled Status
idempotent