# Get company tests This endpoint returns the tests of the company. Endpoint: GET /v2/tests Version: 2 Security: ## Query parameters: - `limit` (number) Number of records to return in the response - `sortBy` (array) Name of the field to sort by Enum: "name", "severity", "category", "category_text", "sub_category", "sub_category_text", "criterion_text", "open_findings_count", "closed_findings_count" - `sortDirection` (string) The direction of the field sort specified by sort_by Enum: "ASC", "asc", "1", "DESC", "desc", "-1" - `next_token` (string) Token received from a previous request to obtain the next chunk of data - `name` (array) Tests will only contain specified name (all if none) - `severity` (array) Tests will only contain specified severity (all if none) Enum: "info", "low", "medium", "high", "critical" - `fields` (string) Enum: "name", "severity", "category", "category_text", "sub_category", "sub_category_text", "criterion_text", "open_findings_count", "closed_findings_count" ## Response 200 fields (application/json): - `severity` (string, required) Enum: "INFO", "LOW", "MEDIUM", "HIGH", "CRITICAL" - `category` (string, required) The key of category - `category_text` (string, required) The text of category - `sub_category` (string, required) The key of sub category - `sub_category_text` (string, required) The text of sub category - `open_findings_count` (number, required) -1 indicates that no tests were performed - `closed_findings_count` (number, required) -1 indicates that no tests were performed - `id` (string, required) - `name` (string, required) - `criterion_text` (string, required) ## Response 401 fields ## Response 403 fields ## Response 429 fields