Fetch Data
1
POST /api/fetchAuthMechanismData
Retrieve authentication mechanism details configured for scanning.
2
POST /api/fetchTestRoles
Fetch probe roles and their configurations for scanning.
3
POST /api/fetchTestingRunResults
Fetch the results of executed scan runs, including issues found and their severity.
4
POST /api/fetchActiveTestRunsStatus
Retrieve the current status of active or in-progress scan runs.
5
POST /api/retrieveAllCollectionTests
Retrieve all available probes mapped to each Agentic Collection.
6
POST /api/fetchFilters
Fetch available filters for organizing and querying scan results.
7
POST /api/fetchSearchTestResults
Search and retrieve scan results based on specified criteria.
8
POST /api/fetchTestingSources
Retrieve configured scanning sources and integrations.
9
POST /api/fetchWorkflowTests
Get workflow-based security scan definitions and configurations.
10
POST /api/fetchTestingRunResultSummary
Fetches a single scanning run result summary by its hex ID.
11
POST /api/fetchAuthMechanismDataDoc
Fetches the raw authentication mechanism document for the current account.
12
POST /api/fetchAllTestSuites
Fetches both custom and default (built-in) probe suites available in the account.
13
POST /api/fetchTestSuites
Fetches all available probe suite enum types for onboarding flows.
14
POST /api/fetchVulnerableRequests
Fetches a paginated list of vulnerable HTTP requests from demo data, used for probe template previews.
15
POST /api/fetchTestingRunResultFromTestingRun
Fetches the first scanning run result associated with a given scanning run hex ID.
16
POST /api/fetchUsageTestRuns
Checks whether the current account has any user-created scan runs (excluding onboarding demo runs).
17
POST /api/fetchTestingLogs
Fetches scanning engine logs within a specified time range.
18
POST /api/getBUACategoryCount
Counts the number of unique Agentic Components affected by issues matching the given filter criteria.
19
POST /api/getNotTestedAPICount
Counts Agentic Components that have never been scanned, optionally filtered by collection.
20
POST /api/getOnlyOnceTestedAPICount
Counts Agentic Components that have been scanned exactly one time, optionally filtered by collection.
21
POST /api/fetchTestedApisRanges
Returns the count of scanned Agentic Components grouped by week (year_weekOfYear) for trend analysis.
22
POST /api/getMisConfiguredTestsCount
Counts scan results that require additional configuration (REQUIRES_CONFIG flag).
23
POST /api/fetchTestingRunsRanges
Returns completed scan run counts grouped by week (year_weekOfYear) for trend analysis.
24
POST /api/getLastCalculatedInfo
Fetches metadata about the last cron/background job execution for the current account.
25
POST /api/fetchTestingData
Returns consolidated scanning coverage statistics (scanned vs non-scanned Agentic Component counts) within a time range.
26
POST /api/fetchMiniTestingServiceNames
Returns the names of active mini-scanning service modules with recent heartbeats.
27
POST /api/fetchDefaultPayload
Fetches the default payload configuration for a specific domain.
28
POST /api/fetchAllDefaultPayloads
Fetches all default payload configurations saved for the current account.
29
POST /api/fetchGlobalVars
Fetches saved global host variable mappings and known hosts for the specified collections.
30
POST /api/fetchTestCollectionConfiguration
Fetches scan configuration properties (headers, cookies, auth requirements, etc.) for a specific Agentic Collection.
31
POST /api/fetchPropertyIds
Fetches all available scan collection property types with their metadata.
32
POST /api/buildDependencyTable
Builds a paginated dependency flow table with Agentic Component nodes, parameters, and replacement details.
33
POST /api/fetchWorkflowResult
Fetches the latest scanning run and result for a workflow scan.
34
POST /api/fetchWorkflowTestingRun
Fetches all scheduled scanning runs for a workflow scan.
35
POST /api/downloadWorkflowAsJson
Downloads a workflow scan as a JSON file string for export.
36
POST /api/exportWorkflowTestAsString
Serializes a workflow scan to a JSON string for export or clipboard copy.
37
POST /api/fetchCustomTestsCount
Fetches the count of custom YAML probe templates grouped by repository URL.
38
POST /api/fetchCommonTestTemplate
Fetches a common reusable probe template by its identifier.
39
POST /api/fetchTestContent
Fetches the YAML content of a probe template for editing in the Agentic Playground.
40
POST /api/fetchTestingRunPlaygroundStatus
Fetches the execution status of a scan run triggered from the Agentic Playground.
41
POST /api/fetchCallbackStatusForTestEditor
Fetches the callback/async result status for a scan run initiated from the Agentic Playground.
42
POST /api/fetchOtpData/{uuid}
Fetches OTP data associated with a specific UUID, used in login flow authentication setup.
43
POST /api/fetchScript
Returns the most recently stored scan script for a given script type (PRE_TEST, PRE_REQUEST, POST_REQUEST, POST_TEST).
44
POST /api/fetchAccessMatrixTaskInfos
Fetch all Access Matrix task configurations for scheduled role-based access testing.
45
POST /api/fetchAccessMatrixUrlToRoles
Fetch all URL-to-role mappings and an inverted role-to-URLs map for the access matrix.
46
POST /api/analyzeApiSamples
Analyze live traffic samples to extract distinct header values for discovering role/tenant identifiers to configure access matrix roles.
application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
1770879436Authentication mechanism details retrieved
Sample description
POST /api/fetchAuthMechanismData HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"collectionId": 1770879436
}Authentication mechanism details retrieved
{
"authMechanisms": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
Test roles retrieved
Sample description
POST /api/fetchTestRoles HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Test roles retrieved
{
"testRoles": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
6464783058e3a17b14ddf64edescription
Sample description
nullnullnullnull0nullfalsenullnullnullfalsenull0null00nullPOST /api/fetchTestingRunResults HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"testingRunResultSummaryHexId": "6464783058e3a17b14ddf64e"
}description
{
"metadata": "null",
"testingRunResults": [
{
"testResults": "null",
"testRunResultSummaryId": {
"date": "2023-05-17T12:16:08",
"timestamp": 1684305968
},
"testRunId": {
"date": "2023-05-17T12:14:33",
"timestamp": 1684305873
},
"singleTypeInfos": "null",
"vulnerable": true,
"testSubType": "CHANGE_METHOD_TO_GET",
"testSuperType": "BFLA",
"apiInfoKey": {
"method": "POST",
"apiCollectionId": 1679459648,
"url": "https://juiceshop.akto.io/rest/basket/6"
},
"id": {
"date": "2023-05-17T12:16:13",
"timestamp": 1684305973
},
"confidencePercentage": 100,
"endTimestamp": 1684305972,
"startTimestamp": 1684305972,
"hexId": "6464783658e3a17b14ddfa47"
}
],
"testingRunResultSummaries": "null",
"runIssues": "null",
"selectedTests": "null",
"maxConcurrentRequests": 0,
"testingRuns": "null",
"recurringDaily": false,
"workflowTest": "null",
"authMechanism": "null",
"testingRunResult": "null",
"fetchCicd": false,
"testingRun": "null",
"testRunTime": 0,
"testingRunHexId": "null",
"endTimestamp": 0,
"startTimestamp": 0,
"testName": "null"
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
description
Sample description
POST /api/fetchActiveTestRunsStatus HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}description
{
"activeTestRuns": [
{
"hexId": "null",
"state": "RUNNING",
"name": "null"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
falsedescription
Sample description
nullnullnullnullnull0falsenullnullfalsenull0null16845641901684477790nullPOST /api/retrieveAllCollectionTests HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"fetchCicd": false
}description
{
"metadata": "null",
"testingRunResults": "null",
"testingRunResultSummaries": "null",
"runIssues": "null",
"selectedTests": "null",
"maxConcurrentRequests": 0,
"recurringDaily": false,
"workflowTest": "null",
"authMechanism": {
"authParams": [
{
"showHeader": true,
"where": "HEADER",
"value": "text",
"key": "access-token"
}
],
"id": {
"date": "2023-03-22T12:11:33",
"timestamp": 1679467293
},
"type": "HARDCODED",
"uuid": "83c47038-0770-4f7c-946c-539b5927a97f"
},
"testingRunResult": "null",
"fetchCicd": false,
"testingRun": "null",
"testRunTime": 0,
"testingRunHexId": "null",
"endTimestamp": 1684564190,
"startTimestamp": 1684477790,
"testName": "null"
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
description
Sample description
POST /api/fetchFilters HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}description
{
"runtimeFilters": [
{
"useCase": "DETERMINE_API_ACCESS_TYPE",
"customFilterList": [
{
"endValue": 299,
"startValue": 200
}
],
"name": "Open Endpoints",
"id": 1679459648,
"customFiltersOperator": "AND",
"customFieldName": "access_type"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
description
Sample description
nullnullfalsenullnullnullnullnullPOST /api/fetchSearchTestResults HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"searchText": ""
}description
{
"severity": "null",
"searchText": "",
"description": "null",
"defaultCreator": false,
"inbuiltTests": [
{
"issueTags": [
"Business logic"
],
"issueImpact": "text",
"superCategory": {
"severity": {
"_name": "HIGH"
},
"displayName": "Broken Object Level Authorization (BOLA)",
"name": "SSRF",
"shortName": "Broken Function Level Authorization"
},
"references": "null",
"_name": "ADD_PUT_METHOD_OVERRIDE_HEADERS",
"name": "ADD_PUT_METHOD_OVERRIDE_HEADERS",
"issueDetails": "\"The endpoint appears to be vulnerable to Server Side Request Forgery attack. The original request was replayed by replacing CSV upload parameter with url that redirects to AWS IMDS endpoint. The application responded with 2XX success code and also gave out sensitive AWS information in response. Server-Side Request Forgery (SSRF) flaws occur whenever an API is fetching a remote resource without validating the user-supplied URL. It allows an attacker to coerce the application to send a crafted request to an unexpected destination, even when protected by a firewall or a VPN.\\n \"Modern concepts in application development make SSRF more common and more dangerous.\\n\" \"More common - the following concepts encourage developers to access an external resource based on user input: Webhooks, file fetching from URLs, custom SSO, and URL previews.\\n\" \"More dangerous - Modern technologies like cloud providers, Kubernetes, and Docker expose management and control channels over HTTP on predictable, well-known paths. Those channels are an easy target for an SSRF attack.\\n\" \"It is also more challenging to limit outbound traffic from your application, because of the connected nature of modern applications.\\n\" + \"The SSRF risk can not always be completely eliminated. While choosing a protection mechanism, it is important to consider the business risks and needs.\"\n",
"issueDescription": "Quite often, APIs do not impose any restrictions on the size or number of resources that can be requested by the user.",
"testName": "BFLA by HTTP DELETE method overriding"
}
],
"categories": [
{
"severity": {
"_name": "HIGH"
},
"_name": "SSRF",
"displayName": "Improper Assets Management (IAM)",
"name": "SSRF",
"shortName": "Broken Function Level Authorization"
}
],
"testSourceConfigs": "null",
"category": "null",
"subcategory": "null",
"searchResults": [
{
"severity": {
"_name": "HIGH"
},
"creator": "default",
"addedEpoch": 1679402464,
"description": "",
"stars": 0,
"id": "https://github.com/akto-api-security/tests-library/blob/master/Misconfiguration/configs/appspec-yml-disclosure.yaml",
"category": {
"severity": {
"_name": "HIGH"
},
"_name": "INJ",
"displayName": "Broken Object Level Authorization (BOLA)",
"name": "INJ",
"shortName": "Injection"
},
"subcategory": "redirect",
"installs": 0,
"tags": "null"
}
],
"url": "null",
"tags": "null"
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
trueBFLAdescription
Sample description
nullnulltruenullnullnullnullBFLAnullnullPOST /api/fetchTestingSources HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"defaultCreator": true,
"subcategory": "BFLA"
}description
{
"severity": "null",
"searchText": "null",
"defaultCreator": true,
"description": "null",
"categories": "null",
"inbuiltTests": "null",
"category": "null",
"subcategory": "BFLA",
"url": "null",
"tags": "null"
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsSample description
description
Sample description
nullnullnull0nullnull00nullnull0POST /api/fetchWorkflowTests HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}description
{
"str": "null",
"nodes": "null",
"workflowTestJson": "null",
"logFetchEndTime": 0,
"edges": "null",
"mapNodeIdToWorkflowNodeDetails": "null",
"apiCollectionId": 0,
"id": 0,
"state": "null",
"testingLogs": "null",
"logFetchStartTime": 0
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsHex-encoded ObjectId of the testing run result summary.
64b1f2c3a4e5d6f7b8c9d0e1Returns the matching testing run result summary.
POST /api/fetchTestingRunResultSummary HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"testingRunResultSummaryHexId": "64b1f2c3a4e5d6f7b8c9d0e1"
}Returns the matching testing run result summary.
{
"testingRunResultSummaries": [
{
"id": "64b1f2c3a4e5d6f7b8c9d0e1",
"testingRunId": "64a0e1b2c3d4e5f6a7b8c9d0",
"state": "COMPLETED",
"countIssuesByType": {
"HIGH": 3,
"MEDIUM": 5
},
"startTimestamp": 1712300000,
"endTimestamp": 1712303600
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns the current auth mechanism document.
POST /api/fetchAuthMechanismDataDoc HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns the current auth mechanism document.
{
"authMechanismDoc": {
"_id": "64b1f2c3a4e5d6f7b8c9d0e1",
"type": "HARDCODED",
"authParamData": [
{}
],
"requestData": [
{}
]
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns custom and default test suites.
POST /api/fetchAllTestSuites HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns custom and default test suites.
{
"testSuiteList": [
{
"id": "64b1f2c3a4e5d6f7b8c9d0e1",
"name": "My OWASP Suite",
"subCategoryList": [
"BOLA",
"SQLi"
]
}
],
"defaultTestSuites": [
{
"name": "OWASP Top 10",
"subCategoryList": [
"text"
]
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns the available test suite types.
Array of TestSuite enum values.
["OWASP_TOP_10","SANS_TOP_25","CUSTOM"]POST /api/fetchTestSuites HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns the available test suite types.
{
"testSuites": [
"OWASP_TOP_10",
"SANS_TOP_25",
"CUSTOM"
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNumber of records to skip for pagination.
0Maximum number of records to return.
20Returns paginated vulnerable requests.
POST /api/fetchVulnerableRequests HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"skip": 0,
"limit": 20
}Returns paginated vulnerable requests.
{
"vulnerableRequests": [
{
"id": "64b1f2c3a4e5d6f7b8c9d0e1",
"url": "/api/users/1",
"method": "GET",
"category": "BOLA"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsHex-encoded ObjectId of the testing run.
64a0e1b2c3d4e5f6a7b8c9d0Returns the first test result for the specified run.
POST /api/fetchTestingRunResultFromTestingRun HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"testingRunHexId": "64a0e1b2c3d4e5f6a7b8c9d0"
}Returns the first test result for the specified run.
{
"testingRunResult": {
"id": "64b1f2c3a4e5d6f7b8c9d0e1",
"testingRunId": "64a0e1b2c3d4e5f6a7b8c9d0",
"vulnerable": true,
"testSubType": "BOLA",
"apiInfoKey": {},
"attempts": [
{}
]
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns whether user-created test runs exist.
True if the account has at least one user-created test run.
truePOST /api/fetchUsageTestRuns HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns whether user-created test runs exist.
{
"testRunsByUser": true
}test-abc123Testing logs retrieved
No content
POST /api/fetchTestingLogs HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"testId": "test-abc123"
}Testing logs retrieved
No content
application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsIf true, returns full ApiInfo objects alongside the count.
false[1001,1002]["HIGH","CRITICAL"]["OPEN"]["BOLA"]17120000001712999999Returns count of affected APIs.
Number of unique APIs with matching issues.
14ApiInfo details (only present when showApiInfo=true).
POST /api/getBUACategoryCount HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 186
{
"showApiInfo": false,
"filterCollectionsId": [
1001,
1002
],
"severity": [
"HIGH",
"CRITICAL"
],
"issueStatus": [
"OPEN"
],
"subcategory": [
"BOLA"
],
"startTimestamp": 1712000000,
"endTimestamp": 1712999999
}Returns count of affected APIs.
{
"buaCategoryCount": 14,
"buaCategoryApiInfo": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsfalse[1001]Returns count of untested APIs.
Number of APIs with no testing history.
42ApiInfo details (only present when showApiInfo=true).
POST /api/getNotTestedAPICount HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"showApiInfo": false,
"apiCollectionIds": [
1001
]
}Returns count of untested APIs.
{
"notTestedEndpointsCount": 42,
"notTestedEndpointsApiInfo": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsfalse[1001]Returns count of once-tested APIs.
Number of APIs tested exactly once.
18ApiInfo details (only present when showApiInfo=true).
POST /api/getOnlyOnceTestedAPICount HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"showApiInfo": false,
"apiCollectionIds": [
1001
]
}Returns count of once-tested APIs.
{
"onlyOnceTestedEndpointsCount": 18,
"onlyOnceTestedEndpointsApiInfo": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIs[1001,1002]Returns per-week tested API counts.
POST /api/fetchTestedApisRanges HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"apiCollectionIds": [
1001,
1002
]
}Returns per-week tested API counts.
{
"response": {
"2024_15": 12,
"2024_16": 20
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsfalseReturns count of misconfigured tests.
Number of test results requiring configuration.
5ApiInfo details (only present when showApiInfo=true).
POST /api/getMisConfiguredTestsCount HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"showApiInfo": false
}Returns count of misconfigured tests.
{
"misConfiguredTestsCount": 5,
"misConfiguredTestsApiInfo": [
{}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIs[1001,1002]Returns per-week test run counts.
POST /api/fetchTestingRunsRanges HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"apiCollectionIds": [
1001,
1002
]
}Returns per-week test run counts.
{
"allTestsCountsRanges": {
"2024_15": 3,
"2024_16": 7
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns last cron run information.
POST /api/getLastCalculatedInfo HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns last cron run information.
{
"timerInfo": {
"lastCalculatedTs": 1712300000,
"status": "COMPLETED"
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsStart of the time range as Unix epoch seconds.
1712000000End of the time range as Unix epoch seconds. Defaults to now if omitted.
1712999999Returns testing coverage statistics.
POST /api/fetchTestingData HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"startTimestamp": 1712000000,
"endTimestamp": 1712999999
}Returns testing coverage statistics.
{
"response": {
"testedVsNonTested": {
"tested": 85,
"nonTested": 42
}
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsDomain name to fetch the default payload for.
example.comReturns the default payload configuration for the domain.
POST /api/fetchDefaultPayload HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"domain": "example.com"
}Returns the default payload configuration for the domain.
{
"defaultPayload": {
"domain": "example.com",
"pattern": "{\"key\":\"value\"}",
"creator": "alice@example.com",
"createdTs": 1712300000,
"updatedTs": 1712300000
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns all default payloads for the account.
POST /api/fetchAllDefaultPayloads HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns all default payloads for the account.
{
"domains": [
{
"domain": "example.com",
"pattern": "{\"key\":\"value\"}",
"creator": "alice@example.com"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsCollection IDs whose hosts should be included in the response.
[1001,1002]Returns current host mappings and collection hosts.
POST /api/fetchGlobalVars HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"apiCollectionIds": [
1001,
1002
]
}Returns current host mappings and collection hosts.
{
"modifyHostDetails": [
{
"currentHost": "api.internal.example.com",
"newHost": "api.staging.example.com"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsID of the API collection to fetch configuration for.
1001Returns the test collection configuration properties.
POST /api/fetchTestCollectionConfiguration HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"apiCollectionId": 1001
}Returns the test collection configuration properties.
{
"testCollectionProperties": [
{
"propertyId": "REQUIRES_AUTH",
"value": "true"
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsNo request body required.
Returns all property type definitions.
POST /api/fetchPropertyIds HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Returns all property type definitions.
{
"propertyIds": {
"ANY_ADDITIONAL_PROPERTY": {
"id": "REQUIRES_AUTH",
"title": "Requires Authentication",
"type": "BOOLEAN",
"impactingCategories": [
"BOLA",
"AUTH_BYPASS"
]
}
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsCollection IDs to build the dependency table for.
[1001,1002]Number of records to skip for pagination.
0Returns the dependency table with nodes, parameters, and replacement details.
Paginated list of dependency nodes with parameter data.
Replacement detail configurations for the collections.
Total number of dependency nodes.
150POST /api/buildDependencyTable HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"apiCollectionIds": [
1001,
1002
],
"skip": 0
}Returns the dependency table with nodes, parameters, and replacement details.
{
"dependencyTableList": [
{}
],
"replaceDetails": [
{}
],
"total": 150
}1766398064Workflow result retrieved (workflowTestingRun and workflowTestResult may be null if no run exists yet)
Forbidden
Unprocessable
POST /api/fetchWorkflowResult HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"workflowTestId": 1766398064
}{
"workflowTestingRun": {
"id": "6a4c1b3dde8f92780c91637f",
"state": "COMPLETED",
"scheduleTimestamp": 1766398064
},
"workflowTestResult": {
"testRunId": "6a4c1b3dde8f92780c91637f",
"nodeResultMap": {}
}
}1766398064Scheduled testing runs retrieved
Forbidden
Unprocessable
POST /api/fetchWorkflowTestingRun HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"workflowTestId": 1766398064
}{
"testingRuns": [
{
"id": "6a4c1b3dde8f92780c91637f",
"state": "SCHEDULED",
"scheduleTimestamp": 1766484064
}
]
}1766398064Workflow JSON ready for download
Gson-serialized JSON string of the full WorkflowTest object
{"id":1766398064,"apiCollectionId":1748293710,"nodes":["node-1","node-2"],"edges":["edge-1-2"],"state":"PUBLISHED"}Forbidden
Unprocessable — workflow test not found
POST /api/downloadWorkflowAsJson HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"id": 1766398064
}{
"workflowTestJson": "{\"id\":1766398064,\"apiCollectionId\":1748293710,\"nodes\":[\"node-1\",\"node-2\"],\"edges\":[\"edge-1-2\"],\"state\":\"PUBLISHED\"}"
}1766398064Workflow test serialized
Full JSON serialization of the WorkflowTest object
{"id":1766398064,"apiCollectionId":1748293710,"author":"admin@example.com","nodes":["node-1"],"edges":[],"state":"PUBLISHED"}Forbidden
Unprocessable — workflow test not found or serialization error
POST /api/exportWorkflowTestAsString HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"id": 1766398064
}{
"str": "{\"id\":1766398064,\"apiCollectionId\":1748293710,\"author\":\"admin@example.com\",\"nodes\":[\"node-1\"],\"edges\":[],\"state\":\"PUBLISHED\"}"
}Template counts retrieved
Forbidden
POST /api/fetchCustomTestsCount HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"testCountMap": {
"https://github.com/example-org/custom-akto-tests": 12,
"https://github.com/example-org/pentest-templates": 5
}
}Common test template retrieved (content is empty string if not set)
YAML content of the common template
wordLists: userIds: - "1" - "2" - "3" adminEndpoints: - /admin - /internalForbidden
POST /api/fetchCommonTestTemplate HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"content": "wordLists:\n userIds:\n - \"1\"\n - \"2\"\n - \"3\"\n adminEndpoints:\n - /admin\n - /internal"
}Test template ID to fetch
BOLA_TEST_CUSTOMTest content retrieved
YAML content of the test template
id: BOLA_TEST_CUSTOM info: name: Custom BOLA Test severity: HIGH ...Forbidden
Unprocessable — test ID empty or template not found
POST /api/fetchTestContent HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"originalTestId": "BOLA_TEST_CUSTOM"
}{
"content": "id: BOLA_TEST_CUSTOM\ninfo:\n name: Custom BOLA Test\n severity: HIGH\n..."
}Hex ID returned by runTestForGivenTemplate
7b5d2e4ffe9a38791da2748aPlayground status retrieved
Current state of the playground run
COMPLETEDPossible values: Unprocessable — hex ID empty, invalid, or playground not found
POST /api/fetchTestingRunPlaygroundStatus HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"testingRunPlaygroundHexId": "7b5d2e4ffe9a38791da2748a"
}{
"testingRunPlaygroundStatus": "COMPLETED",
"testingRunResult": {
"vulnerable": false,
"testResults": [
{}
]
},
"callbackUuids": [
"text"
],
"testingRunIssues": {},
"subCategoryMap": {}
}List of callback UUIDs from the test result to check
["cb-uuid-abc123","cb-uuid-def456"]Callback status checked
true if at least one callback URL was hit by the target server
falseForbidden
Unprocessable — callbackUuids empty
POST /api/fetchCallbackStatusForTestEditor HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"callbackUuids": [
"cb-uuid-abc123",
"cb-uuid-def456"
]
}{
"callbackHit": false
}UUID identifying the OTP test data slot
a1b2c3d4-e5f6-7890-abcd-ef1234567890OTP text retrieved
The OTP text received within the last 5 minutes for this UUID
482917Forbidden
Unprocessable — UUID null or OTP not received within 5 minutes
POST /api/fetchOtpData/{uuid} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"otpText": "482917"
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsAccess matrix task list returned
POST /api/fetchAccessMatrixTaskInfos HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}Access matrix task list returned
{
"accessMatrixTaskInfos": [
{
"hexId": "64a1f2e3b5c7d8e9f0a1b2c3",
"endpointLogicalGroupName": "ADMIN_GROUP",
"frequencyInSeconds": 86400,
"lastCompletedTimestamp": 1675123200,
"nextScheduledTimestamp": 1675209600
},
{
"hexId": "64a1f2e3b5c7d8e9f0a1b2d7",
"endpointLogicalGroupName": "READ_ONLY_GROUP",
"frequencyInSeconds": 86400,
"lastCompletedTimestamp": 1675036800,
"nextScheduledTimestamp": 1675209600
}
]
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsURL-to-role and role-to-URLs mappings returned
POST /api/fetchAccessMatrixUrlToRoles HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}URL-to-role and role-to-URLs mappings returned
{
"accessMatrixUrlToRoles": [
{
"id": {
"url": "https://api.example.com/api/admin/users",
"method": "DELETE",
"apiCollectionId": 1111111
},
"roles": [
"ADMIN",
"SUPER_ADMIN"
]
}
],
"accessMatrixRoleToUrls": {
"ADMIN": [
{
"url": "https://api.example.com/api/admin/users",
"method": "DELETE",
"apiCollectionId": 1111111
}
],
"READ_ONLY": [
{
"url": "https://api.example.com/api/users/profile",
"method": "GET",
"apiCollectionId": 1111111
}
]
}
}application/jsonYOUR_API_KEY from Settings > Integrations > Akto APIsCollection IDs whose traffic samples to analyze. Must not be empty.
[1111111,2222222]Request header names to extract and count. Must not be empty.
["x-role","x-tenant-id"]Header value frequency map returned
Validation error — empty apiCollectionIds or headerNames
POST /api/analyzeApiSamples HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"apiCollectionIds": [
1111111,
2222222
],
"headerNames": [
"x-role",
"x-tenant-id"
]
}{
"headerValues": {
"x-role": {
"ADMIN": 412,
"READ_ONLY": 1893,
"BILLING": 204
},
"x-tenant-id": {
"tenant-a": 954,
"tenant-b": 1555
}
}
}Last updated