> For the complete documentation index, see [llms.txt](https://ai-security-docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-security-docs.akto.io/api-reference/security-testing/fetch-data.md).

# 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><tr><td>33</td><td><strong>POST /api/fetchWorkflowResult</strong></td><td>Fetches the latest scanning run and result for a workflow scan.</td></tr><tr><td>34</td><td><strong>POST /api/fetchWorkflowTestingRun</strong></td><td>Fetches all scheduled scanning runs for a workflow scan.</td></tr><tr><td>35</td><td><strong>POST /api/downloadWorkflowAsJson</strong></td><td>Downloads a workflow scan as a JSON file string for export.</td></tr><tr><td>36</td><td><strong>POST /api/exportWorkflowTestAsString</strong></td><td>Serializes a workflow scan to a JSON string for export or clipboard copy.</td></tr><tr><td>37</td><td><strong>POST /api/fetchCustomTestsCount</strong></td><td>Fetches the count of custom YAML probe templates grouped by repository URL.</td></tr><tr><td>38</td><td><strong>POST /api/fetchCommonTestTemplate</strong></td><td>Fetches a common reusable probe template by its identifier.</td></tr><tr><td>39</td><td><strong>POST /api/fetchTestContent</strong></td><td>Fetches the YAML content of a probe template for editing in the Agentic Playground.</td></tr><tr><td>40</td><td><strong>POST /api/fetchTestingRunPlaygroundStatus</strong></td><td>Fetches the execution status of a scan run triggered from the Agentic Playground.</td></tr><tr><td>41</td><td><strong>POST /api/fetchCallbackStatusForTestEditor</strong></td><td>Fetches the callback/async result status for a scan run initiated from the Agentic Playground.</td></tr><tr><td>42</td><td><strong>POST /api/fetchOtpData/{uuid}</strong></td><td>Fetches OTP data associated with a specific UUID, used in login flow authentication setup.</td></tr><tr><td>43</td><td><strong>POST /api/fetchScript</strong></td><td>Returns the most recently stored scan script for a given script type (PRE_TEST, PRE_REQUEST, POST_REQUEST, POST_TEST).</td></tr><tr><td>44</td><td><strong>POST /api/fetchAccessMatrixTaskInfos</strong></td><td>Fetch all Access Matrix task configurations for scheduled role-based access testing.</td></tr><tr><td>45</td><td><strong>POST /api/fetchAccessMatrixUrlToRoles</strong></td><td>Fetch all URL-to-role mappings and an inverted role-to-URLs map for the access matrix.</td></tr><tr><td>46</td><td><strong>POST /api/analyzeApiSamples</strong></td><td>Analyze live traffic samples to extract distinct header values for discovering role/tenant identifiers to configure access matrix roles.</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."}}}}}}}}}}}
```

## POST /api/fetchWorkflowResult

> POST request for endpoint /api/fetchWorkflowResult

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchWorkflowResult":{"post":{"summary":"POST request for endpoint /api/fetchWorkflowResult","operationId":"/api/fetchWorkflowResult-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["workflowTestId"],"properties":{"workflowTestId":{"type":"integer"}}}}}},"responses":{"200":{"description":"Workflow result retrieved (workflowTestingRun and workflowTestResult may be null if no run exists yet)","content":{"application/json":{"schema":{"type":"object","properties":{"workflowTestingRun":{"type":"object","description":"The latest TestingRun for this workflow test","properties":{"id":{"type":"string"},"state":{"type":"string"},"scheduleTimestamp":{"type":"integer"}}},"workflowTestResult":{"type":"object","description":"The WorkflowTestResult for the latest run, null if no result yet","properties":{"testRunId":{"type":"string"},"nodeResultMap":{"type":"object","description":"Map of node ID to test result"}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## POST /api/fetchWorkflowTestingRun

> POST request for endpoint /api/fetchWorkflowTestingRun

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchWorkflowTestingRun":{"post":{"summary":"POST request for endpoint /api/fetchWorkflowTestingRun","operationId":"/api/fetchWorkflowTestingRun-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["workflowTestId"],"properties":{"workflowTestId":{"type":"integer"}}}}}},"responses":{"200":{"description":"Scheduled testing runs retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"testingRuns":{"type":"array","description":"TestingRun records in SCHEDULED state for this workflow test","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"scheduleTimestamp":{"type":"integer"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## POST /api/downloadWorkflowAsJson

> POST request for endpoint /api/downloadWorkflowAsJson

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/downloadWorkflowAsJson":{"post":{"summary":"POST request for endpoint /api/downloadWorkflowAsJson","operationId":"/api/downloadWorkflowAsJson-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Workflow JSON ready for download","content":{"application/json":{"schema":{"type":"object","properties":{"workflowTestJson":{"type":"string","description":"Gson-serialized JSON string of the full WorkflowTest object"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — workflow test not found","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/exportWorkflowTestAsString

> POST request for endpoint /api/exportWorkflowTestAsString

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/exportWorkflowTestAsString":{"post":{"summary":"POST request for endpoint /api/exportWorkflowTestAsString","operationId":"/api/exportWorkflowTestAsString-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}}},"responses":{"200":{"description":"Workflow test serialized","content":{"application/json":{"schema":{"type":"object","properties":{"str":{"type":"string","description":"Full JSON serialization of the WorkflowTest object"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — workflow test not found or serialization error"}}}}}}
```

## POST /api/fetchCustomTestsCount

> POST request for endpoint /api/fetchCustomTestsCount

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCustomTestsCount":{"post":{"summary":"POST request for endpoint /api/fetchCustomTestsCount","operationId":"/api/fetchCustomTestsCount-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Template counts retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"testCountMap":{"type":"object","description":"Map of repositoryUrl → number of templates loaded from it","additionalProperties":{"type":"integer"}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchCommonTestTemplate

> POST request for endpoint /api/fetchCommonTestTemplate

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCommonTestTemplate":{"post":{"summary":"POST request for endpoint /api/fetchCommonTestTemplate","operationId":"/api/fetchCommonTestTemplate-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Common test template retrieved (content is empty string if not set)","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","description":"YAML content of the common template"}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchTestContent

> POST request for endpoint /api/fetchTestContent

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestContent":{"post":{"summary":"POST request for endpoint /api/fetchTestContent","operationId":"/api/fetchTestContent-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["originalTestId"],"properties":{"originalTestId":{"type":"string","description":"Test template ID to fetch"}}}}}},"responses":{"200":{"description":"Test content retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","description":"YAML content of the test template"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — test ID empty or template not found","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchTestingRunPlaygroundStatus

> POST request for endpoint /api/fetchTestingRunPlaygroundStatus

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingRunPlaygroundStatus":{"post":{"summary":"POST request for endpoint /api/fetchTestingRunPlaygroundStatus","operationId":"/api/fetchTestingRunPlaygroundStatus-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["testingRunPlaygroundHexId"],"properties":{"testingRunPlaygroundHexId":{"type":"string","description":"Hex ID returned by runTestForGivenTemplate"}}}}}},"responses":{"200":{"description":"Playground status retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"testingRunPlaygroundStatus":{"type":"string","description":"Current state of the playground run","enum":["SCHEDULED","RUNNING","COMPLETED","STOPPED"]},"testingRunResult":{"type":"object","properties":{"vulnerable":{"type":"boolean"},"testResults":{"type":"array","items":{"type":"object"}}}},"callbackUuids":{"type":"array","items":{"type":"string"}},"testingRunIssues":{"type":"object"},"subCategoryMap":{"type":"object"}}}}}},"422":{"description":"Unprocessable — hex ID empty, invalid, or playground not found","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchCallbackStatusForTestEditor

> POST request for endpoint /api/fetchCallbackStatusForTestEditor

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCallbackStatusForTestEditor":{"post":{"summary":"POST request for endpoint /api/fetchCallbackStatusForTestEditor","operationId":"/api/fetchCallbackStatusForTestEditor-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["callbackUuids"],"properties":{"callbackUuids":{"type":"array","description":"List of callback UUIDs from the test result to check","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Callback status checked","content":{"application/json":{"schema":{"type":"object","properties":{"callbackHit":{"type":"boolean","description":"true if at least one callback URL was hit by the target server"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — callbackUuids empty","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchOtpData/{uuid}

> POST request for endpoint /api/fetchOtpData/{uuid}

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchOtpData/{uuid}":{"post":{"summary":"POST request for endpoint /api/fetchOtpData/{uuid}","operationId":"/api/fetchOtpData-POST","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"},"description":"UUID identifying the OTP test data slot"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"OTP text retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"otpText":{"type":"string","description":"The OTP text received within the last 5 minutes for this UUID"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — UUID null or OTP not received within 5 minutes","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchAccessMatrixTaskInfos

> POST request for endpoint /api/fetchAccessMatrixTaskInfos

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAccessMatrixTaskInfos":{"post":{"summary":"POST request for endpoint /api/fetchAccessMatrixTaskInfos","operationId":"/api/fetchAccessMatrixTaskInfos-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Access matrix task list returned","content":{"application/json":{"schema":{"type":"object","properties":{"accessMatrixTaskInfos":{"type":"array","items":{"type":"object","properties":{"id":{"type":"object"},"hexId":{"type":"string"},"endpointLogicalGroupName":{"type":"string","description":"roleName + '_GROUP' suffix"},"frequencyInSeconds":{"type":"integer"},"lastCompletedTimestamp":{"type":"integer"},"nextScheduledTimestamp":{"type":"integer"}}}}}}}}}}}}}}
```

## POST /api/fetchAccessMatrixUrlToRoles

> POST request for endpoint /api/fetchAccessMatrixUrlToRoles

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAccessMatrixUrlToRoles":{"post":{"summary":"POST request for endpoint /api/fetchAccessMatrixUrlToRoles","operationId":"/api/fetchAccessMatrixUrlToRoles-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"URL-to-role and role-to-URLs mappings returned","content":{"application/json":{"schema":{"type":"object","properties":{"accessMatrixUrlToRoles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"object","description":"ApiInfoKey identifying the endpoint","properties":{"url":{"type":"string"},"method":{"type":"string"},"apiCollectionId":{"type":"integer"}}},"roles":{"type":"array","items":{"type":"string"}}}}},"accessMatrixRoleToUrls":{"type":"object","description":"Inverted map: role name → list of ApiInfoKeys that have access","additionalProperties":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"method":{"type":"string"},"apiCollectionId":{"type":"integer"}}}}}}}}}}}}}}}
```

## POST /api/analyzeApiSamples

> POST request for endpoint /api/analyzeApiSamples

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/analyzeApiSamples":{"post":{"summary":"POST request for endpoint /api/analyzeApiSamples","operationId":"/api/analyzeApiSamples-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["apiCollectionIds","headerNames"],"properties":{"apiCollectionIds":{"type":"array","description":"Collection IDs whose traffic samples to analyze. Must not be empty.","items":{"type":"integer"}},"headerNames":{"type":"array","description":"Request header names to extract and count. Must not be empty.","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Header value frequency map returned","content":{"application/json":{"schema":{"type":"object","properties":{"headerValues":{"type":"object","description":"Map of headerName → { value → occurrence count }","additionalProperties":{"type":"object","additionalProperties":{"type":"integer"}}}}}}}},"400":{"description":"Validation error — empty apiCollectionIds or headerNames","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```
