{ "info": { "_postman_id": "ea8e3de8-806c-4e8f-b5fb-0804f8e0228e", "name": "TeamCity REST Agent Pools Investigations API", "description": "The TeamCity REST API provides programmatic access to JetBrains TeamCity continuous integration and deployment server. It allows you to manage projects, build configurations, builds, agents, users, VCS roots, changes, tests, and other TeamCity resources.\n\nContact Support:\n Name: JetBrains\n Email: teamcity-support@jetbrains.com", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:08:55.000Z", "updatedAt": "2026-07-28T03:08:55.000Z", "lastUpdatedBy": "35240", "uid": "35240-ea8e3de8-806c-4e8f-b5fb-0804f8e0228e" }, "item": [ { "name": "investigations", "item": [ { "name": "Get All Investigations", "id": "b32c8b3d-1f7b-41af-9bb3-43b27557a017", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/investigations?locator=&fields=", "host": [ "{{baseUrl}}" ], "path": [ "investigations" ], "query": [ { "description": "TeamCity locator string to filter results", "key": "locator", "value": "" }, { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" } ] }, "description": "Returns a list of all investigations." }, "response": [ { "id": "aa5b20dc-56d5-4873-b7dd-19a27bbd880e", "name": "Successful response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/investigations?locator=&fields=", "host": [ "{{baseUrl}}" ], "path": [ "investigations" ], "query": [ { "description": "TeamCity locator string to filter results", "key": "locator", "value": "" }, { "description": "Fields to include in the response (for partial responses)", "key": "fields", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"count\": \"\",\n \"investigation\": [\n {\n \"id\": \"\",\n \"state\": \"TAKEN\",\n \"assignee\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"assignment\": {\n \"user\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"timestamp\": \"\",\n \"text\": \"\"\n },\n \"scope\": {},\n \"target\": {},\n \"resolution\": {}\n },\n {\n \"id\": \"\",\n \"state\": \"GIVEN_UP\",\n \"assignee\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"assignment\": {\n \"user\": {\n \"id\": \"\",\n \"username\": \"\",\n \"name\": \"\",\n \"email\": \"\",\n \"href\": \"\",\n \"lastLogin\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n },\n \"groups\": {\n \"count\": \"\",\n \"group\": [\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n },\n {\n \"key\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"href\": \"\",\n \"roles\": {\n \"role\": [\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n },\n {\n \"roleId\": \"\",\n \"scope\": \"\",\n \"href\": \"\"\n }\n ]\n }\n }\n ]\n }\n },\n \"timestamp\": \"\",\n \"text\": \"\"\n },\n \"scope\": {},\n \"target\": {},\n \"resolution\": {}\n }\n ]\n}", "createdAt": "2026-07-28T03:08:55.000Z", "updatedAt": "2026-07-28T03:08:55.000Z", "uid": "35240-aa5b20dc-56d5-4873-b7dd-19a27bbd880e" } ], "createdAt": "2026-07-28T03:08:55.000Z", "updatedAt": "2026-07-28T03:08:55.000Z", "uid": "35240-b32c8b3d-1f7b-41af-9bb3-43b27557a017" } ], "id": "fe9f7306-3698-45c2-9b67-4cc2f8c7595b", "createdAt": "2026-07-28T03:08:55.000Z", "updatedAt": "2026-07-28T03:08:55.000Z", "uid": "35240-fe9f7306-3698-45c2-9b67-4cc2f8c7595b" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "server", "value": "teamcity.example.com" }, { "key": "baseUrl", "value": "https://{{server}}/app/rest" } ] }