# Fetch Data

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="430">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchAuthMechanismData</strong></td><td>Retrieve authentication mechanism details configured for scanning.</td></tr><tr><td>2</td><td><strong>POST /api/fetchTestRoles</strong></td><td>Fetch probe roles and their configurations for scanning.</td></tr><tr><td>3</td><td><strong>POST /api/fetchTestingRunResults</strong></td><td>Fetch the results of executed scan runs, including issues found and their severity.</td></tr><tr><td>4</td><td><strong>POST /api/fetchActiveTestRunsStatus</strong></td><td>Retrieve the current status of active or in-progress scan runs.</td></tr><tr><td>5</td><td><strong>POST /api/retrieveAllCollectionTests</strong></td><td>Retrieve all available probes mapped to each Agentic Collection.</td></tr><tr><td>6</td><td><strong>POST /api/fetchFilters</strong></td><td>Fetch available filters for organizing and querying scan results.</td></tr><tr><td>7</td><td><strong>POST /api/fetchSearchTestResults</strong></td><td>Search and retrieve scan results based on specified criteria.</td></tr><tr><td>8</td><td><strong>POST /api/fetchTestingSources</strong></td><td>Retrieve configured scanning sources and integrations.</td></tr><tr><td>9</td><td><strong>POST /api/fetchWorkflowTests</strong></td><td>Get workflow-based security scan definitions and configurations.</td></tr><tr><td>10</td><td><strong>POST /api/fetchTestingRunResultSummary</strong></td><td>Fetches a single scanning run result summary by its hex ID.</td></tr><tr><td>11</td><td><strong>POST /api/fetchAuthMechanismDataDoc</strong></td><td>Fetches the raw authentication mechanism document for the current account.</td></tr><tr><td>12</td><td><strong>POST /api/fetchAllTestSuites</strong></td><td>Fetches both custom and default (built-in) probe suites available in the account.</td></tr><tr><td>13</td><td><strong>POST /api/fetchTestSuites</strong></td><td>Fetches all available probe suite enum types for onboarding flows.</td></tr><tr><td>14</td><td><strong>POST /api/fetchVulnerableRequests</strong></td><td>Fetches a paginated list of vulnerable HTTP requests from demo data, used for probe template previews.</td></tr><tr><td>15</td><td><strong>POST /api/fetchTestingRunResultFromTestingRun</strong></td><td>Fetches the first scanning run result associated with a given scanning run hex ID.</td></tr><tr><td>16</td><td><strong>POST /api/fetchUsageTestRuns</strong></td><td>Checks whether the current account has any user-created scan runs (excluding onboarding demo runs).</td></tr><tr><td>17</td><td><strong>POST /api/fetchTestingLogs</strong></td><td>Fetches scanning engine logs within a specified time range.</td></tr><tr><td>18</td><td><strong>POST /api/getBUACategoryCount</strong></td><td>Counts the number of unique Agentic Components affected by issues matching the given filter criteria.</td></tr><tr><td>19</td><td><strong>POST /api/getNotTestedAPICount</strong></td><td>Counts Agentic Components that have never been scanned, optionally filtered by collection.</td></tr><tr><td>20</td><td><strong>POST /api/getOnlyOnceTestedAPICount</strong></td><td>Counts Agentic Components that have been scanned exactly one time, optionally filtered by collection.</td></tr><tr><td>21</td><td><strong>POST /api/fetchTestedApisRanges</strong></td><td>Returns the count of scanned Agentic Components grouped by week (year_weekOfYear) for trend analysis.</td></tr><tr><td>22</td><td><strong>POST /api/getMisConfiguredTestsCount</strong></td><td>Counts scan results that require additional configuration (REQUIRES_CONFIG flag).</td></tr><tr><td>23</td><td><strong>POST /api/fetchTestingRunsRanges</strong></td><td>Returns completed scan run counts grouped by week (year_weekOfYear) for trend analysis.</td></tr><tr><td>24</td><td><strong>POST /api/getLastCalculatedInfo</strong></td><td>Fetches metadata about the last cron/background job execution for the current account.</td></tr><tr><td>25</td><td><strong>POST /api/fetchTestingData</strong></td><td>Returns consolidated scanning coverage statistics (scanned vs non-scanned Agentic Component counts) within a time range.</td></tr><tr><td>26</td><td><strong>POST /api/fetchMiniTestingServiceNames</strong></td><td>Returns the names of active mini-scanning service modules with recent heartbeats.</td></tr><tr><td>27</td><td><strong>POST /api/fetchDefaultPayload</strong></td><td>Fetches the default payload configuration for a specific domain.</td></tr><tr><td>28</td><td><strong>POST /api/fetchAllDefaultPayloads</strong></td><td>Fetches all default payload configurations saved for the current account.</td></tr><tr><td>29</td><td><strong>POST /api/fetchGlobalVars</strong></td><td>Fetches saved global host variable mappings and known hosts for the specified collections.</td></tr><tr><td>30</td><td><strong>POST /api/fetchTestCollectionConfiguration</strong></td><td>Fetches scan configuration properties (headers, cookies, auth requirements, etc.) for a specific Agentic Collection.</td></tr><tr><td>31</td><td><strong>POST /api/fetchPropertyIds</strong></td><td>Fetches all available scan collection property types with their metadata.</td></tr><tr><td>32</td><td><strong>POST /api/buildDependencyTable</strong></td><td>Builds a paginated dependency flow table with Agentic Component nodes, parameters, and replacement details.</td></tr></tbody></table>

## POST /api/fetchAuthMechanismData

> POST request for endpoint /api/fetchAuthMechanismData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAuthMechanismData":{"post":{"summary":"POST request for endpoint /api/fetchAuthMechanismData","operationId":"/api/fetchAuthMechanismData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"integer"}},"description":"Sample description"}}}},"responses":{"200":{"description":"Authentication mechanism details retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"authMechanisms":{"type":"array","items":{"type":"object"}}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchTestRoles

> POST request for endpoint /api/fetchTestRoles

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestRoles":{"post":{"summary":"POST request for endpoint /api/fetchTestRoles","operationId":"/api/fetchTestRoles-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{},"description":"Sample description"}}}},"responses":{"200":{"description":"Test roles retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"testRoles":{"type":"array","items":{"type":"object"}}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchTestingRunResults

> POST request for endpoint /api/fetchTestingRunResults

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingRunResults":{"post":{"summary":"POST request for endpoint /api/fetchTestingRunResults","operationId":"/api/fetchTestingRunResults-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"testingRunResultSummaryHexId":{"type":"string"}},"description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"string"},"testingRunResults":{"type":"array","items":{"type":"object","properties":{"testResults":{"type":"string"},"testRunResultSummaryId":{"type":"object","properties":{"date":{"type":"string"},"timestamp":{"type":"integer","format":"int32"}}},"testRunId":{"type":"object","properties":{"date":{"type":"string"},"timestamp":{"type":"integer","format":"int32"}}},"singleTypeInfos":{"type":"string"},"vulnerable":{"type":"boolean"},"testSubType":{"type":"string"},"testSuperType":{"type":"string"},"apiInfoKey":{"type":"object","properties":{"method":{"type":"string"},"apiCollectionId":{"type":"integer","format":"int32"},"url":{"type":"string"}}},"id":{"type":"object","properties":{"date":{"type":"string"},"timestamp":{"type":"integer","format":"int32"}}},"confidencePercentage":{"type":"integer","format":"int32"},"endTimestamp":{"type":"integer","format":"int32"},"startTimestamp":{"type":"integer","format":"int32"},"hexId":{"type":"string"}}}},"testingRunResultSummaries":{"type":"string"},"runIssues":{"type":"string"},"selectedTests":{"type":"string"},"maxConcurrentRequests":{"type":"integer","format":"int32"},"testingRuns":{"type":"string"},"recurringDaily":{"type":"boolean"},"workflowTest":{"type":"string"},"authMechanism":{"type":"string"},"testingRunResult":{"type":"string"},"fetchCicd":{"type":"boolean"},"testingRun":{"type":"string"},"testRunTime":{"type":"integer","format":"int32"},"testingRunHexId":{"type":"string"},"endTimestamp":{"type":"integer","format":"int32"},"startTimestamp":{"type":"integer","format":"int32"},"testName":{"type":"string"}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchActiveTestRunsStatus

> POST request for endpoint /api/fetchActiveTestRunsStatus

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchActiveTestRunsStatus":{"post":{"summary":"POST request for endpoint /api/fetchActiveTestRunsStatus","operationId":"/api/fetchActiveTestRunsStatus-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{},"description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"activeTestRuns":{"type":"array","items":{"type":"object","properties":{"hexId":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"}}}}},"description":"Sample description"}}}}}}}}}
```

## POST /api/retrieveAllCollectionTests

> POST request for endpoint /api/retrieveAllCollectionTests

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/retrieveAllCollectionTests":{"post":{"summary":"POST request for endpoint /api/retrieveAllCollectionTests","operationId":"/api/retrieveAllCollectionTests-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fetchCicd":{"type":"boolean"}},"description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"string"},"testingRunResults":{"type":"string"},"testingRunResultSummaries":{"type":"string"},"runIssues":{"type":"string"},"selectedTests":{"type":"string"},"maxConcurrentRequests":{"type":"integer","format":"int32"},"recurringDaily":{"type":"boolean"},"workflowTest":{"type":"string"},"authMechanism":{"type":"object","properties":{"authParams":{"type":"array","items":{"type":"object","properties":{"showHeader":{"type":"boolean"},"where":{"type":"string"},"value":{"type":"string"},"key":{"type":"string"}}}},"id":{"type":"object","properties":{"date":{"type":"string"},"timestamp":{"type":"integer","format":"int32"}}},"type":{"type":"string"},"uuid":{"type":"string"}}},"testingRunResult":{"type":"string"},"fetchCicd":{"type":"boolean"},"testingRun":{"type":"string"},"testRunTime":{"type":"integer","format":"int32"},"testingRunHexId":{"type":"string"},"endTimestamp":{"type":"integer","format":"int32"},"startTimestamp":{"type":"integer","format":"int32"},"testName":{"type":"string"}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchFilters

> POST request for endpoint /api/fetchFilters

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchFilters":{"post":{"summary":"POST request for endpoint /api/fetchFilters","operationId":"/api/fetchFilters-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"runtimeFilters":{"type":"array","items":{"type":"object","properties":{"useCase":{"type":"string"},"customFilterList":{"type":"array","items":{"type":"object","properties":{"endValue":{"type":"integer","format":"int32"},"startValue":{"type":"integer","format":"int32"}}}},"name":{"type":"string"},"id":{"type":"integer","format":"int32"},"customFiltersOperator":{"type":"string"},"customFieldName":{"type":"string"}}}}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchSearchTestResults

> POST request for endpoint /api/fetchSearchTestResults

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSearchTestResults":{"post":{"summary":"POST request for endpoint /api/fetchSearchTestResults","operationId":"/api/fetchSearchTestResults-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"searchText":{"type":"string"}},"description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"severity":{"type":"string"},"searchText":{"type":"string"},"description":{"type":"string"},"defaultCreator":{"type":"boolean"},"inbuiltTests":{"type":"array","items":{"type":"object","properties":{"issueTags":{"type":"array","items":{"type":"string"}},"issueImpact":{"type":"string"},"superCategory":{"type":"object","properties":{"severity":{"type":"object","properties":{"_name":{"type":"string"}}},"displayName":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"}}},"references":{"type":"string"},"_name":{"type":"string"},"name":{"type":"string"},"issueDetails":{"type":"string"},"issueDescription":{"type":"string"},"testName":{"type":"string"}}}},"categories":{"type":"array","items":{"type":"object","properties":{"severity":{"type":"object","properties":{"_name":{"type":"string"}}},"_name":{"type":"string"},"displayName":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"}}}},"testSourceConfigs":{"type":"string"},"category":{"type":"string"},"subcategory":{"type":"string"},"searchResults":{"type":"array","items":{"type":"object","properties":{"severity":{"type":"object","properties":{"_name":{"type":"string"}}},"creator":{"type":"string"},"addedEpoch":{"type":"integer","format":"int32"},"description":{"type":"string"},"stars":{"type":"integer","format":"int32"},"id":{"type":"string"},"category":{"type":"object","properties":{"severity":{"type":"object","properties":{"_name":{"type":"string"}}},"_name":{"type":"string"},"displayName":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"}}},"subcategory":{"type":"string"},"installs":{"type":"integer","format":"int32"},"tags":{"type":"string"}}}},"url":{"type":"string"},"tags":{"type":"string"}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchTestingSources

> POST request for endpoint /api/fetchTestingSources

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingSources":{"post":{"summary":"POST request for endpoint /api/fetchTestingSources","operationId":"/api/fetchTestingSources-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"defaultCreator":{"type":"boolean"},"subcategory":{"type":"string"}},"description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"severity":{"type":"string"},"searchText":{"type":"string"},"defaultCreator":{"type":"boolean"},"description":{"type":"string"},"categories":{"type":"string"},"inbuiltTests":{"type":"string"},"category":{"type":"string"},"subcategory":{"type":"string"},"url":{"type":"string"},"tags":{"type":"string"}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchWorkflowTests

> POST request for endpoint /api/fetchWorkflowTests

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchWorkflowTests":{"post":{"summary":"POST request for endpoint /api/fetchWorkflowTests","operationId":"/api/fetchWorkflowTests-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Sample description"}}}},"responses":{"200":{"description":"description","content":{"application/json":{"schema":{"type":"object","properties":{"str":{"type":"string"},"nodes":{"type":"string"},"workflowTestJson":{"type":"string"},"logFetchEndTime":{"type":"integer","format":"int32"},"edges":{"type":"string"},"mapNodeIdToWorkflowNodeDetails":{"type":"string"},"apiCollectionId":{"type":"integer","format":"int32"},"id":{"type":"integer","format":"int32"},"state":{"type":"string"},"testingLogs":{"type":"string"},"logFetchStartTime":{"type":"integer","format":"int32"}},"description":"Sample description"}}}}}}}}}
```

## POST /api/fetchTestingRunResultSummary

> POST request for endpoint /api/fetchTestingRunResultSummary

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingRunResultSummary":{"post":{"summary":"POST request for endpoint /api/fetchTestingRunResultSummary","operationId":"/api/fetchTestingRunResultSummary-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["testingRunResultSummaryHexId"],"properties":{"testingRunResultSummaryHexId":{"type":"string","description":"Hex-encoded ObjectId of the testing run result summary."}}}}}},"responses":{"200":{"description":"Returns the matching testing run result summary.","content":{"application/json":{"schema":{"type":"object","properties":{"testingRunResultSummaries":{"type":"array","description":"List containing the fetched TestingRunResultSummary.","items":{"type":"object","properties":{"id":{"type":"string"},"testingRunId":{"type":"string"},"state":{"type":"string"},"countIssuesByType":{"type":"object"},"startTimestamp":{"type":"integer"},"endTimestamp":{"type":"integer"}}}}}}}}}}}}}}
```

## POST /api/fetchAuthMechanismDataDoc

> POST request for endpoint /api/fetchAuthMechanismDataDoc

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAuthMechanismDataDoc":{"post":{"summary":"POST request for endpoint /api/fetchAuthMechanismDataDoc","operationId":"/api/fetchAuthMechanismDataDoc-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns the current auth mechanism document.","content":{"application/json":{"schema":{"type":"object","properties":{"authMechanismDoc":{"type":"object","description":"Raw MongoDB document of the attacker token / auth mechanism for the account.","properties":{"_id":{"type":"string"},"type":{"type":"string"},"authParamData":{"type":"array","items":{"type":"object"}},"requestData":{"type":"array","items":{"type":"object"}}}}}}}}}}}}}}
```

## POST /api/fetchAllTestSuites

> POST request for endpoint /api/fetchAllTestSuites

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAllTestSuites":{"post":{"summary":"POST request for endpoint /api/fetchAllTestSuites","operationId":"/api/fetchAllTestSuites-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns custom and default test suites.","content":{"application/json":{"schema":{"type":"object","properties":{"testSuiteList":{"type":"array","description":"Custom test suites created in the account.","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"subCategoryList":{"type":"array","items":{"type":"string"}}}}},"defaultTestSuites":{"type":"array","description":"Built-in default test suites.","items":{"type":"object","properties":{"name":{"type":"string"},"subCategoryList":{"type":"array","items":{"type":"string"}}}}}}}}}}}}}}}
```

## POST /api/fetchTestSuites

> POST request for endpoint /api/fetchTestSuites

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestSuites":{"post":{"summary":"POST request for endpoint /api/fetchTestSuites","operationId":"/api/fetchTestSuites-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns the available test suite types.","content":{"application/json":{"schema":{"type":"object","properties":{"testSuites":{"type":"array","description":"Array of TestSuite enum values.","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchVulnerableRequests

> POST request for endpoint /api/fetchVulnerableRequests

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchVulnerableRequests":{"post":{"summary":"POST request for endpoint /api/fetchVulnerableRequests","operationId":"/api/fetchVulnerableRequests-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"skip":{"type":"integer","description":"Number of records to skip for pagination."},"limit":{"type":"integer","description":"Maximum number of records to return."}}}}}},"responses":{"200":{"description":"Returns paginated vulnerable requests.","content":{"application/json":{"schema":{"type":"object","properties":{"vulnerableRequests":{"type":"array","description":"List of VulnerableRequestForTemplate objects.","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"category":{"type":"string"}}}}}}}}}}}}}}
```

## POST /api/fetchTestingRunResultFromTestingRun

> POST request for endpoint /api/fetchTestingRunResultFromTestingRun

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingRunResultFromTestingRun":{"post":{"summary":"POST request for endpoint /api/fetchTestingRunResultFromTestingRun","operationId":"/api/fetchTestingRunResultFromTestingRun-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["testingRunHexId"],"properties":{"testingRunHexId":{"type":"string","description":"Hex-encoded ObjectId of the testing run."}}}}}},"responses":{"200":{"description":"Returns the first test result for the specified run.","content":{"application/json":{"schema":{"type":"object","properties":{"testingRunResult":{"type":"object","description":"The first TestingRunResult matching the given testing run ID.","properties":{"id":{"type":"string"},"testingRunId":{"type":"string"},"vulnerable":{"type":"boolean"},"testSubType":{"type":"string"},"apiInfoKey":{"type":"object"},"attempts":{"type":"array","items":{"type":"object"}}}}}}}}}}}}}}
```

## POST /api/fetchUsageTestRuns

> POST request for endpoint /api/fetchUsageTestRuns

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchUsageTestRuns":{"post":{"summary":"POST request for endpoint /api/fetchUsageTestRuns","operationId":"/api/fetchUsageTestRuns-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns whether user-created test runs exist.","content":{"application/json":{"schema":{"type":"object","properties":{"testRunsByUser":{"type":"boolean","description":"True if the account has at least one user-created test run."}}}}}}}}}}}
```

## POST /api/fetchTestingLogs

> POST request for endpoint /api/fetchTestingLogs

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingLogs":{"post":{"summary":"POST request for endpoint /api/fetchTestingLogs","operationId":"/api/fetchTestingLogs-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"testId":{"type":"string"}}}}}},"responses":{"200":{"description":"Testing logs retrieved"}}}}}}
```

## POST /api/getBUACategoryCount

> POST request for endpoint /api/getBUACategoryCount

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getBUACategoryCount":{"post":{"summary":"POST request for endpoint /api/getBUACategoryCount","operationId":"/api/getBUACategoryCount-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"showApiInfo":{"type":"boolean","description":"If true, returns full ApiInfo objects alongside the count."},"filterCollectionsId":{"type":"array","items":{"type":"integer"}},"severity":{"type":"array","items":{"type":"string"}},"issueStatus":{"type":"array","items":{"type":"string"}},"subcategory":{"type":"array","items":{"type":"string"}},"startTimestamp":{"type":"integer"},"endTimestamp":{"type":"integer"}}}}}},"responses":{"200":{"description":"Returns count of affected APIs.","content":{"application/json":{"schema":{"type":"object","properties":{"buaCategoryCount":{"type":"integer","description":"Number of unique APIs with matching issues."},"buaCategoryApiInfo":{"type":"array","description":"ApiInfo details (only present when showApiInfo=true).","items":{"type":"object"}}}}}}}}}}}}
```

## POST /api/getNotTestedAPICount

> POST request for endpoint /api/getNotTestedAPICount

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getNotTestedAPICount":{"post":{"summary":"POST request for endpoint /api/getNotTestedAPICount","operationId":"/api/getNotTestedAPICount-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"showApiInfo":{"type":"boolean"},"apiCollectionIds":{"type":"array","items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"Returns count of untested APIs.","content":{"application/json":{"schema":{"type":"object","properties":{"notTestedEndpointsCount":{"type":"integer","description":"Number of APIs with no testing history."},"notTestedEndpointsApiInfo":{"type":"array","description":"ApiInfo details (only present when showApiInfo=true).","items":{"type":"object"}}}}}}}}}}}}
```

## POST /api/getOnlyOnceTestedAPICount

> POST request for endpoint /api/getOnlyOnceTestedAPICount

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getOnlyOnceTestedAPICount":{"post":{"summary":"POST request for endpoint /api/getOnlyOnceTestedAPICount","operationId":"/api/getOnlyOnceTestedAPICount-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"showApiInfo":{"type":"boolean"},"apiCollectionIds":{"type":"array","items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"Returns count of once-tested APIs.","content":{"application/json":{"schema":{"type":"object","properties":{"onlyOnceTestedEndpointsCount":{"type":"integer","description":"Number of APIs tested exactly once."},"onlyOnceTestedEndpointsApiInfo":{"type":"array","description":"ApiInfo details (only present when showApiInfo=true).","items":{"type":"object"}}}}}}}}}}}}
```

## POST /api/fetchTestedApisRanges

> POST request for endpoint /api/fetchTestedApisRanges

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestedApisRanges":{"post":{"summary":"POST request for endpoint /api/fetchTestedApisRanges","operationId":"/api/fetchTestedApisRanges-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"apiCollectionIds":{"type":"array","items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"Returns per-week tested API counts.","content":{"application/json":{"schema":{"type":"object","properties":{"response":{"type":"object","description":"Map of week key (year_weekOfYear) to count of APIs tested that week.","additionalProperties":{"type":"integer"}}}}}}}}}}}}
```

## POST /api/getMisConfiguredTestsCount

> POST request for endpoint /api/getMisConfiguredTestsCount

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getMisConfiguredTestsCount":{"post":{"summary":"POST request for endpoint /api/getMisConfiguredTestsCount","operationId":"/api/getMisConfiguredTestsCount-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"showApiInfo":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Returns count of misconfigured tests.","content":{"application/json":{"schema":{"type":"object","properties":{"misConfiguredTestsCount":{"type":"integer","description":"Number of test results requiring configuration."},"misConfiguredTestsApiInfo":{"type":"array","description":"ApiInfo details (only present when showApiInfo=true).","items":{"type":"object"}}}}}}}}}}}}
```

## POST /api/fetchTestingRunsRanges

> POST request for endpoint /api/fetchTestingRunsRanges

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingRunsRanges":{"post":{"summary":"POST request for endpoint /api/fetchTestingRunsRanges","operationId":"/api/fetchTestingRunsRanges-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"apiCollectionIds":{"type":"array","items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"Returns per-week test run counts.","content":{"application/json":{"schema":{"type":"object","properties":{"allTestsCountsRanges":{"type":"object","description":"Map of week key (year_weekOfYear) to number of completed test runs that week.","additionalProperties":{"type":"integer"}}}}}}}}}}}}
```

## POST /api/getLastCalculatedInfo

> POST request for endpoint /api/getLastCalculatedInfo

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getLastCalculatedInfo":{"post":{"summary":"POST request for endpoint /api/getLastCalculatedInfo","operationId":"/api/getLastCalculatedInfo-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns last cron run information.","content":{"application/json":{"schema":{"type":"object","properties":{"timerInfo":{"type":"object","description":"LastCronRunInfo containing timing and status of the last background job.","properties":{"lastCalculatedTs":{"type":"integer"},"status":{"type":"string"}}}}}}}}}}}}}
```

## POST /api/fetchTestingData

> POST request for endpoint /api/fetchTestingData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingData":{"post":{"summary":"POST request for endpoint /api/fetchTestingData","operationId":"/api/fetchTestingData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["startTimestamp"],"properties":{"startTimestamp":{"type":"integer","format":"int64","description":"Start of the time range as Unix epoch seconds."},"endTimestamp":{"type":"integer","format":"int64","description":"End of the time range as Unix epoch seconds. Defaults to now if omitted."}}}}}},"responses":{"200":{"description":"Returns testing coverage statistics.","content":{"application/json":{"schema":{"type":"object","properties":{"response":{"type":"object","properties":{"testedVsNonTested":{"type":"object","description":"Breakdown of tested vs non-tested API counts.","properties":{"tested":{"type":"integer"},"nonTested":{"type":"integer"}}}}}}}}}}}}}}}
```

## POST /api/fetchDefaultPayload

> POST request for endpoint /api/fetchDefaultPayload

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDefaultPayload":{"post":{"summary":"POST request for endpoint /api/fetchDefaultPayload","operationId":"/api/fetchDefaultPayload-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain name to fetch the default payload for."}}}}}},"responses":{"200":{"description":"Returns the default payload configuration for the domain.","content":{"application/json":{"schema":{"type":"object","properties":{"defaultPayload":{"type":"object","description":"DefaultPayload document for the specified domain.","properties":{"domain":{"type":"string"},"pattern":{"type":"string"},"creator":{"type":"string"},"createdTs":{"type":"integer"},"updatedTs":{"type":"integer"}}}}}}}}}}}}}
```

## POST /api/fetchAllDefaultPayloads

> POST request for endpoint /api/fetchAllDefaultPayloads

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAllDefaultPayloads":{"post":{"summary":"POST request for endpoint /api/fetchAllDefaultPayloads","operationId":"/api/fetchAllDefaultPayloads-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns all default payloads for the account.","content":{"application/json":{"schema":{"type":"object","properties":{"domains":{"type":"array","description":"List of DefaultPayload objects, one per configured domain.","items":{"type":"object","properties":{"domain":{"type":"string"},"pattern":{"type":"string"},"creator":{"type":"string"}}}}}}}}}}}}}}
```

## POST /api/fetchGlobalVars

> POST request for endpoint /api/fetchGlobalVars

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchGlobalVars":{"post":{"summary":"POST request for endpoint /api/fetchGlobalVars","operationId":"/api/fetchGlobalVars-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["apiCollectionIds"],"properties":{"apiCollectionIds":{"type":"array","description":"Collection IDs whose hosts should be included in the response.","items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"Returns current host mappings and collection hosts.","content":{"application/json":{"schema":{"type":"object","properties":{"modifyHostDetails":{"type":"array","description":"Saved host modification mappings plus hosts extracted from the specified collections.","items":{"type":"object","properties":{"currentHost":{"type":"string"},"newHost":{"type":"string"}}}}}}}}}}}}}}
```

## POST /api/fetchTestCollectionConfiguration

> POST request for endpoint /api/fetchTestCollectionConfiguration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestCollectionConfiguration":{"post":{"summary":"POST request for endpoint /api/fetchTestCollectionConfiguration","operationId":"/api/fetchTestCollectionConfiguration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["apiCollectionId"],"properties":{"apiCollectionId":{"type":"integer","description":"ID of the API collection to fetch configuration for."}}}}}},"responses":{"200":{"description":"Returns the test collection configuration properties.","content":{"application/json":{"schema":{"type":"object","properties":{"testCollectionProperties":{"type":"array","description":"List of TestCollectionProperty objects for the collection.","items":{"type":"object","properties":{"propertyId":{"type":"string"},"value":{"type":"string"}}}}}}}}}}}}}}
```

## POST /api/fetchPropertyIds

> POST request for endpoint /api/fetchPropertyIds

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchPropertyIds":{"post":{"summary":"POST request for endpoint /api/fetchPropertyIds","operationId":"/api/fetchPropertyIds-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"No request body required."}}}},"responses":{"200":{"description":"Returns all property type definitions.","content":{"application/json":{"schema":{"type":"object","properties":{"propertyIds":{"type":"object","description":"Map of property enum name to its metadata object.","additionalProperties":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"impactingCategories":{"type":"array","items":{"type":"string"}}}}}}}}}}}}}}}
```

## POST /api/buildDependencyTable

> POST request for endpoint /api/buildDependencyTable

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/buildDependencyTable":{"post":{"summary":"POST request for endpoint /api/buildDependencyTable","operationId":"/api/buildDependencyTable-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["apiCollectionIds"],"properties":{"apiCollectionIds":{"type":"array","description":"Collection IDs to build the dependency table for.","items":{"type":"integer"}},"skip":{"type":"integer","description":"Number of records to skip for pagination."}}}}}},"responses":{"200":{"description":"Returns the dependency table with nodes, parameters, and replacement details.","content":{"application/json":{"schema":{"type":"object","properties":{"dependencyTableList":{"type":"array","description":"Paginated list of dependency nodes with parameter data.","items":{"type":"object"}},"replaceDetails":{"type":"array","description":"Replacement detail configurations for the collections.","items":{"type":"object"}},"total":{"type":"integer","description":"Total number of dependency nodes."}}}}}}}}}}}
```
