{
  "opencollection": "1.0.0",
  "info": {
    "name": "UiPath Test Manager API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Test Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects",
            "params": [
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number for pagination (0-based)"
              },
              {
                "name": "pageSize",
                "value": "1",
                "type": "query",
                "description": "Number of records per page"
              }
            ]
          },
          "docs": "Retrieves all test projects accessible to the authenticated user. Projects are the top-level containers for test cases, requirements, test sets, and execution results. Requires the TM.Projects or TM.Projects.Read OAuth scope."
        },
        {
          "info": {
            "name": "UiPath Create a Test Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new test project in Test Manager. The project becomes the container for all test cases, requirements, and test sets associated with the testing effort. Requires the TM.Projects OAuth scope."
        },
        {
          "info": {
            "name": "UiPath Get a Test Project by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              }
            ]
          },
          "docs": "Retrieves a specific test project by its unique identifier. Returns project details including name, description, creation date, and summary statistics for test cases and requirements."
        }
      ]
    },
    {
      "info": {
        "name": "TestCases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Test Cases in a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testcases",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number for pagination (0-based)"
              },
              {
                "name": "pageSize",
                "value": "1",
                "type": "query",
                "description": "Number of records per page"
              }
            ]
          },
          "docs": "Retrieves all test cases defined within a specific test project. Each test case represents a single test scenario with preconditions, steps, and expected results. Supports pagination and filtering. Requires the TM.TestCases or TM.TestCases.Read OAuth scope."
        },
        {
          "info": {
            "name": "UiPath Create a Test Case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testcases",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new test case within a test project. The test case can be linked to automation packages deployed in Orchestrator to enable automated test execution via test sets. Requires the TM.TestCases OAuth scope."
        },
        {
          "info": {
            "name": "UiPath Get a Test Case by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testcases/:testCaseId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test case"
              }
            ]
          },
          "docs": "Retrieves a specific test case by its unique identifier within a project. Returns full test case details including steps, labels, custom fields, automation linkage, and preconditions."
        }
      ]
    },
    {
      "info": {
        "name": "TestSets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Test Sets in a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testsets",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number for pagination (0-based)"
              },
              {
                "name": "pageSize",
                "value": "1",
                "type": "query",
                "description": "Number of records per page"
              }
            ]
          },
          "docs": "Retrieves all test sets within a specific test project. Test sets group test cases for coordinated execution runs and can be linked to Orchestrator processes to trigger automated execution."
        },
        {
          "info": {
            "name": "UiPath Create a Test Set",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testsets",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new test set within a project. The test set can include test cases and be configured to execute against specific Orchestrator environments. Requires the TM.TestSets OAuth scope."
        }
      ]
    },
    {
      "info": {
        "name": "Requirements",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Requirements in a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/requirements",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number for pagination (0-based)"
              },
              {
                "name": "pageSize",
                "value": "1",
                "type": "query",
                "description": "Number of records per page"
              }
            ]
          },
          "docs": "Retrieves all requirements defined within a specific test project. Requirements represent business or technical specifications that test cases are mapped to for traceability. Supports pagination. Requires the TM.Requirements or TM.Requirements.Read OAuth scope."
        },
        {
          "info": {
            "name": "UiPath Create a Requirement",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/requirements",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new requirement within a test project. Requirements can be linked to test cases to establish traceability coverage. Requires the TM.Requirements OAuth scope."
        }
      ]
    },
    {
      "info": {
        "name": "TestExecutions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Test Executions in a Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_/api/v2/projects/:projectId/testexecutions",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the test project"
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page number for pagination (0-based)"
              },
              {
                "name": "pageSize",
                "value": "1",
                "type": "query",
                "description": "Number of records per page"
              }
            ]
          },
          "docs": "Retrieves test execution results within a specific test project. Test executions represent runs of test sets and contain the aggregate pass/fail status across all included test cases. References to individual test case log objects are included for drill-down."
        }
      ]
    }
  ],
  "bundled": true
}