TeamCity Agents API
Manage build agents
TeamCity Agents API is one of 17 APIs that TeamCity publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 1 JSON Schema definition.
Tagged areas include Agents. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a JSON-LD context, and 1 JSON Schema.
This API exposes 6 operations across 4 paths, and defines 27 schemas. It is described by OpenAPI 3.0.3, at version 2024.12.1.
Requests are made against a single base URL, https://{server}/app/rest.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
TeamCity Agents API declares
2 security schemes
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
It accepts HTTP basic authentication (basicAuth).
By default, every request must be authenticated.
bearerAuth— Bearer token authentication using access tokensbasicAuth— HTTP Basic authentication with username and password
Paths & Operations 6
Across 4 paths, the API surfaces 6 operations — 4 GET, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
Manage build agents
Schemas 27
The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are Build (21 properties), BuildType (12 properties), Agent (12 properties), TestOccurrence (11 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from TeamCity 12
Other APIs TeamCity publishes across the network.