# Modify Data

<table data-full-width="true"><thead><tr><th width="370.6767578125">API</th><th>Description</th></tr></thead><tbody><tr><td><strong>POST /api/startTest</strong></td><td>Start a new test run on the selected API collections or endpoints.</td></tr><tr><td><strong>POST /api/stopTest</strong></td><td>Stop an ongoing test run before it completes.</td></tr><tr><td><strong>POST /api/importInBurp</strong></td><td>Paginate through sample data for a collection and return Burp Suite-compatible HTTP request/response strings.</td></tr><tr><td><strong>POST /api/uploadRecordedFlow</strong></td><td>Upload and optionally execute a recorded login flow to extract an authentication token.</td></tr></tbody></table>

## POST /api/stopTest

> /api/stopTest

```json
{"openapi":"3.0.1","info":{"title":"Akto testing new","version":"1.0.0"},"servers":[{"url":"https://app.akto.io","description":"Akto API Server"}],"paths":{"/api/stopTest":{"post":{"summary":"/api/stopTest","operationId":"https://app.akto.io/api/stopTest-POST","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string"},"description":"You can get this from Settings > Integrations > Akto APls > Generate token"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"testingRunHexId":{"type":"string","types":["string"]}},"types":["object"],"required":["testingRunHexId"]}}}},"responses":{"200":{"description":"description","headers":{"date":{"schema":{"type":"string","types":["string"]}},"content-length":{"schema":{"type":"integer","format":"int32","types":["integer"]}},"vary":{"schema":{"type":"string","types":["string"]}},"via":{"schema":{"type":"string","types":["string"]}},"access-control-allow-origin":{"schema":{"type":"string","types":["string"]}},"access-control-allow-credentials":{"schema":{"type":"string","types":["string"]}},"content-type":{"schema":{"type":"string","types":["string"]}},"alt-svc":{"schema":{"type":"string","types":["string"]}},"cache-control":{"schema":{"type":"string","types":["string"]}},"content-language":{"schema":{"type":"string","types":["string"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"string","types":["string"]},"continuousTesting":{"type":"boolean","types":["boolean"]},"allTestsCountMap":{"type":"string","types":["string"]},"sendMsTeamsAlert":{"type":"boolean","types":["boolean"]},"testRunByTestEditor":{"type":"boolean","types":["boolean"]},"source":{"type":"string","types":["string"]},"testRunIds":{"type":"string","types":["string"]},"selectedTestRunResultHexIds":{"type":"string","types":["string"]},"issueSummaryInfo":{"type":"string","types":["string"]},"testingRunResult":{"type":"string","types":["string"]},"testCountMap":{"type":"string","types":["string"]},"limit":{"type":"integer","format":"int32","types":["integer"]},"testingRunHexId":{"type":"string","types":["string"]},"testRoleId":{"type":"string","types":["string"]},"testName":{"type":"string","types":["string"]},"testingRunResultSummaryHexId":{"type":"string","types":["string"]},"selectedSlackWebhook":{"type":"integer","format":"int32","types":["integer"]},"maxConcurrentRequests":{"type":"integer","format":"int32","types":["integer"]},"testingRuns":{"type":"string","types":["string"]},"metadataFilters":{"type":"string","types":["string"]},"latestTestingRunResultSummaries":{"type":"string","types":["string"]},"sortKey":{"type":"string","types":["string"]},"sortOrder":{"type":"integer","format":"int32","types":["integer"]},"endTimestamp":{"type":"integer","format":"int32","types":["integer"]},"issuesDescriptionMap":{"type":"string","types":["string"]},"currentTestStateStatus":{"type":"string","types":["string"]},"testingRunResults":{"type":"string","types":["string"]},"testingRunResultSummaries":{"type":"string","types":["string"]},"runIssues":{"type":"string","types":["string"]},"skip":{"type":"integer","format":"int32","types":["integer"]},"issuesSummaryInfoMap":{"type":"object","properties":{"REPLACE_CSRF_CUSTOM_1715683047":{"type":"integer","format":"int32","types":["integer"]},"SERVER_VERSION_EXPOSED_VIA_RESPONSE_HEADER":{"type":"integer","format":"int32","types":["integer"]},"SENSITIVE_DATA_EXPOSURE_EMAIL":{"type":"integer","format":"int32","types":["integer"]},"DESCRIPTIVE_ERROR_MESSAGE_INVALID_PAYLOAD":{"type":"integer","format":"int32","types":["integer"]},"REMOVE_TOKENS":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_CSRF_CUSTOM_1715683043":{"type":"integer","format":"int32","types":["integer"]},"FILE_INCLUSION_NEW_PARAM":{"type":"integer","format":"int32","types":["integer"]},"TIME_BASED_NOSQLI_JSON_BODY_REPLACE":{"type":"integer","format":"int32","types":["integer"]},"PORT_SCANNING":{"type":"integer","format":"int32","types":["integer"]},"KUBERNETES_EXPOSED":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_CSRF_CUSTOM_1715683090":{"type":"integer","format":"int32","types":["integer"]},"BYPASS_INPUT_VALIDATION_WITH_NULL_VALUES":{"type":"integer","format":"int32","types":["integer"]},"PAGINATION_MISCONFIGURATION":{"type":"integer","format":"int32","types":["integer"]},"PAYLOAD_ALL_KEYS_INVALID_VALUES":{"type":"integer","format":"int32","types":["integer"]},"BOOLEAN_BASED_SQLI":{"type":"integer","format":"int32","types":["integer"]},"LFI_IN_HEADERS_LINUX":{"type":"integer","format":"int32","types":["integer"]},"SENSITIVE_DATA_EXPOSURE_IP_ADDRESS":{"type":"integer","format":"int32","types":["integer"]},"CHECK_GENERAL_GROUP_CHANGES_OTHER_USERS":{"type":"integer","format":"int32","types":["integer"]},"USER_ENUM_RESPONSE_CONTENT":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_CSRF":{"type":"integer","format":"int32","types":["integer"]},"BYPASS_OTP_RATE_LIMIT":{"type":"integer","format":"int32","types":["integer"]},"CHECK_FL_BOLA":{"type":"integer","format":"int32","types":["integer"]},"MISCONFIGURED_X_FRAME_OPTIONS_HEADER":{"type":"integer","format":"int32","types":["integer"]},"NOSQLI_ERROR_BASED_PARAM_MONGO_SPECIAL_CHARACTERS":{"type":"integer","format":"int32","types":["integer"]},"CUSTOM_GFB":{"type":"integer","format":"int32","types":["integer"]},"DOS_ATTACH_FILE_IN_BODY":{"type":"integer","format":"int32","types":["integer"]},"USER_ENUM_REDIRECT_PAGE":{"type":"integer","format":"int32","types":["integer"]},"UNWANTED_RESPONSE_HEADERS":{"type":"integer","format":"int32","types":["integer"]},"SERVER_VERSION_EXPOSED_IN_AN_INVALID_REQUEST":{"type":"integer","format":"int32","types":["integer"]},"PAYLOAD_KEYS_INVALID_VALUES":{"type":"integer","format":"int32","types":["integer"]},"HEADER_ALL_KEYS_INVALID_VALUES":{"type":"integer","format":"int32","types":["integer"]},"HTTP_RESPONSE_SPLITTING":{"type":"integer","format":"int32","types":["integer"]},"NOSQLI_ERROR_BASED_REPLACE_BODY_MONGO_CUSTOM":{"type":"integer","format":"int32","types":["integer"]},"JWT_INVALID_SIGNATURE":{"type":"integer","format":"int32","types":["integer"]},"FETCH_SENSITIVE_FILES":{"type":"integer","format":"int32","types":["integer"]},"DEFAULT_LOGIN_CREDENTIALS":{"type":"integer","format":"int32","types":["integer"]},"OVERWRITING_EXISTING_RESOURCES_BY_MANIPULATING_IDENTIFIERS":{"type":"integer","format":"int32","types":["integer"]},"AUTH_BYPASS_MULTI_CREDENTIAL_SINGLE_PARAM":{"type":"integer","format":"int32","types":["integer"]},"MANIPULATE_NUMBER_DATA_TYPE":{"type":"integer","format":"int32","types":["integer"]},"UNION_DATA_TYPE_BASED_SQLI_GET":{"type":"integer","format":"int32","types":["integer"]},"CHECK_GENERAL_GROUP_CHANGES":{"type":"integer","format":"int32","types":["integer"]},"SWAGGER_API_EXPOSURE":{"type":"integer","format":"int32","types":["integer"]},"STANDARD_SSRF":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_AUTH_TOKEN_CACHING":{"type":"integer","format":"int32","types":["integer"]},"REMOVE_CSRF":{"type":"integer","format":"int32","types":["integer"]},"REMOVE_TOKENS_NEW":{"type":"integer","format":"int32","types":["integer"]},"AUTH_BYPASS_SQL_INJECTION":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_AUTH_TOKEN":{"type":"integer","format":"int32","types":["integer"]},"MUST_CONTAIN_RESPONSE_HEADERS":{"type":"integer","format":"int32","types":["integer"]},"JWT_NONE_ALGO":{"type":"integer","format":"int32","types":["integer"]},"SENSITIVE_DATA_EXPOSURE_JWT":{"type":"integer","format":"int32","types":["integer"]}},"types":["object"]},"testingRunsCount":{"type":"integer","format":"int32","types":["integer"]},"cleanUpTestingResources":{"type":"boolean","types":["boolean"]},"jiraIssuesMapForResults":{"type":"string","types":["string"]},"cicdTests":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","types":["string"]},"timestamp":{"type":"integer","format":"int32","types":["integer"]}},"types":["object"]},"types":["array"]},"authMechanism":{"type":"string","types":["string"]},"testRunsByUser":{"type":"boolean","types":["boolean"]},"currentTestsStatus":{"type":"object","properties":{"totalTestsCompleted":{"type":"integer","format":"int32","types":["integer"]},"testRunsScheduled":{"type":"integer","format":"int32","types":["integer"]},"testRunsQueued":{"type":"integer","format":"int32","types":["integer"]}},"types":["object"]},"latestSummaryIds":{"type":"string","types":["string"]},"miniTestingServiceNames":{"type":"string","types":["string"]},"usageTestRuns":{"type":"string","types":["string"]},"allTestsCountsRanges":{"type":"string","types":["string"]},"sampleDataVsCurlMap":{"type":"string","types":["string"]},"selectedTests":{"type":"string","types":["string"]},"filters":{"type":"string","types":["string"]},"testingRunType":{"type":"string","types":["string"]},"recurringDaily":{"type":"boolean","types":["boolean"]},"overriddenTestAppUrl":{"type":"string","types":["string"]},"workflowTest":{"type":"string","types":["string"]},"testingRun":{"type":"string","types":["string"]},"misConfiguredTestsCount":{"type":"integer","format":"int32","types":["integer"]},"testRunTime":{"type":"integer","format":"int32","types":["integer"]},"startTimestamp":{"type":"integer","format":"int32","types":["integer"]},"errorEnums":{"type":"string","types":["string"]},"triggeredBy":{"type":"string","types":["string"]}},"types":["object"]}}}}}}}}}
```

## POST /api/startTest

> /api/startTest

```json
{"openapi":"3.0.1","info":{"title":"Akto testing new","version":"1.0.0"},"servers":[{"url":"https://app.akto.io","description":"Akto API Server"}],"paths":{"/api/startTest":{"post":{"summary":"/api/startTest","operationId":"https://app.akto.io/api/startTest-POST","parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string"},"description":"You can get this from Settings > Integrations > Akto APls > Generate token"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"autoTicketingDetails":{"type":"string","types":["string"]},"continuousTesting":{"type":"boolean","types":["boolean"]},"sendMsTeamsAlert":{"type":"boolean","types":["boolean"]},"selectedTests":{"type":"array","items":{"type":"string","types":["string"]},"types":["array"]},"apiInfoKeyList":{"type":"array","items":{"type":"object","properties":{"method":{"type":"string","types":["string"]},"apiCollectionId":{"type":"integer","format":"int32","types":["integer"]},"url":{"type":"string","types":["string"]}},"types":["object"],"required":["method","apiCollectionId","url"]},"types":["array"]},"source":{"type":"string","types":["string"]},"maxConcurrentRequests":{"type":"integer","format":"int32","types":["integer"]},"type":{"type":"string","types":["string"]},"cleanUpTestingResources":{"type":"boolean","types":["boolean"]},"recurringDaily":{"type":"boolean","types":["boolean"]},"overriddenTestAppUrl":{"type":"string","types":["string"]},"sendSlackAlert":{"type":"boolean","types":["boolean"]},"recurringWeekly":{"type":"boolean","types":["boolean"]},"testRunTime":{"type":"integer","format":"int32","types":["integer"]},"startTimestamp":{"type":"integer","format":"int32","types":["integer"]},"recurringMonthly":{"type":"boolean","types":["boolean"]},"testRoleId":{"type":"string","types":["string"]},"testName":{"type":"string","types":["string"]}},"types":["object"],"required":["autoTicketingDetails","continuousTesting","sendMsTeamsAlert","selectedTests","apiInfoKeyList","source","maxConcurrentRequests","type","cleanUpTestingResources","recurringDaily","overriddenTestAppUrl","sendSlackAlert","recurringWeekly","testRunTime","startTimestamp","recurringMonthly","testRoleId","testName"]}}}},"responses":{"200":{"description":"description","headers":{"date":{"schema":{"type":"string","types":["string"]}},"content-length":{"schema":{"type":"integer","format":"int32","types":["integer"]}},"vary":{"schema":{"type":"string","types":["string"]}},"via":{"schema":{"type":"string","types":["string"]}},"access-control-allow-origin":{"schema":{"type":"string","types":["string"]}},"access-control-allow-credentials":{"schema":{"type":"string","types":["string"]}},"content-type":{"schema":{"type":"string","types":["string"]}},"alt-svc":{"schema":{"type":"string","types":["string"]}},"cache-control":{"schema":{"type":"string","types":["string"]}},"content-language":{"schema":{"type":"string","types":["string"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"string","types":["string"]},"continuousTesting":{"type":"boolean","types":["boolean"]},"sendMsTeamsAlert":{"type":"boolean","types":["boolean"]},"allTestsCountMap":{"type":"string","types":["string"]},"testRunByTestEditor":{"type":"boolean","types":["boolean"]},"source":{"type":"string","types":["string"]},"testRunIds":{"type":"string","types":["string"]},"selectedTestRunResultHexIds":{"type":"string","types":["string"]},"issueSummaryInfo":{"type":"string","types":["string"]},"testingRunResult":{"type":"string","types":["string"]},"testCountMap":{"type":"string","types":["string"]},"limit":{"type":"integer","format":"int32","types":["integer"]},"testingRunHexId":{"type":"string","types":["string"]},"testRoleId":{"type":"string","types":["string"]},"testName":{"type":"string","types":["string"]},"testingRunResultSummaryHexId":{"type":"string","types":["string"]},"selectedSlackWebhook":{"type":"integer","format":"int32","types":["integer"]},"maxConcurrentRequests":{"type":"integer","format":"int32","types":["integer"]},"latestTestingRunResultSummaries":{"type":"string","types":["string"]},"metadataFilters":{"type":"string","types":["string"]},"sortKey":{"type":"string","types":["string"]},"sortOrder":{"type":"integer","format":"int32","types":["integer"]},"endTimestamp":{"type":"integer","format":"int32","types":["integer"]},"issuesDescriptionMap":{"type":"string","types":["string"]},"currentTestStateStatus":{"type":"string","types":["string"]},"testingRunResults":{"type":"string","types":["string"]},"testingRunResultSummaries":{"type":"string","types":["string"]},"runIssues":{"type":"string","types":["string"]},"skip":{"type":"integer","format":"int32","types":["integer"]},"issuesSummaryInfoMap":{"type":"object","properties":{"LLM_GLITCH_4":{"type":"integer","format":"int32","types":["integer"]},"LLM_GLITCH_5":{"type":"integer","format":"int32","types":["integer"]},"LLM_GLITCH_6":{"type":"integer","format":"int32","types":["integer"]},"LLM_MALWARE_EVADE_SWIFT":{"type":"integer","format":"int32","types":["integer"]},"AUTH_BYPASS_LOCKED_ACCOUNT_TOKEN_ROLE":{"type":"integer","format":"int32","types":["integer"]},"LLM_GLITCH_1":{"type":"integer","format":"int32","types":["integer"]},"REPLACE_TOKENS_CUSTOM_1712573847":{"type":"integer","format":"int32","types":["integer"]},"LLM_GLITCH_2":{"type":"integer","format":"int32","types":["integer"]},"DESCRIPTIVE_ERROR_MESSAGE_INVALID_PAYLOAD":{"type":"integer","format":"int32","types":["integer"]},"PROMPT_LEAK_INJECTION":{"type":"integer","format":"int32","types":["integer"]},"REMOVE_TOKENS":{"type":"integer","format":"int32","types":["integer"]},"LLM_MALWARE_PAYLOAD_SWIFT":{"type":"integer","format":"int32","types":["integer"]},"OPEN_REDIRECT_SUBDOMAIN_WHITELIST":{"type":"integer","format":"int32","types":["integer"]},"OPEN_REDIRECT":{"type":"integer","format":"int32","types":["integer"]},"LLM_MISLEADING":{"type":"integer","format":"int32","types":["integer"]},"WORKSPACE_DATA_VULN":{"type":"integer","format":"int32","types":["integer"]},"JWT_APPEND_SQL_INJECTION_MYSQL_CUSTOM_1723798796":{"type":"integer","format":"int32","types":["integer"]},"NOSQLI_BOOLEAN_BASED_QUERY_PARAM":{"type":"integer","format":"int32","types":["integer"]},"REMOVE_TOKENS_CUSTOM_1725722607":{"type":"integer","format":"int32","types":["integer"]},"LLM_MALWARE_SUBFUNCTION_SWIFT":{"type":"integer","format":"int32","types":["integer"]},"JWT_NONE_ALGO":{"type":"integer","format":"int32","types":["integer"]},"LLM_MALWARE_COMPLETE_SWIFT":{"type":"integer","format":"int32","types":["integer"]}},"types":["object"]},"testingRunsCount":{"type":"integer","format":"int32","types":["integer"]},"jiraIssuesMapForResults":{"type":"string","types":["string"]},"cleanUpTestingResources":{"type":"boolean","types":["boolean"]},"authMechanism":{"type":"object","properties":{"authParams":{"type":"array","items":{"type":"object","properties":{"showHeader":{"type":"boolean","types":["boolean"]},"where":{"type":"string","types":["string"]},"value":{"type":"string","types":["string"]},"key":{"type":"string","types":["string"]}},"types":["object"]},"types":["array"]},"apiCollectionIds":{"type":"string","types":["string"]},"cacheExpired":{"type":"boolean","types":["boolean"]},"id":{"type":"string","types":["string"]},"type":{"type":"string","types":["string"]},"requestData":{"type":"string","types":["string"]},"recordedLoginFlowInput":{"type":"string","types":["string"]},"uuid":{"type":"string","types":["string"]}},"types":["object"]},"miniTestingServiceNames":{"type":"string","types":["string"]},"currentTestsStatus":{"type":"object","properties":{"totalTestsCompleted":{"type":"integer","format":"int32","types":["integer"]},"testRunsScheduled":{"type":"integer","format":"int32","types":["integer"]},"testRunsQueued":{"type":"integer","format":"int32","types":["integer"]}},"types":["object"]},"latestSummaryIds":{"type":"string","types":["string"]},"testRunsByUser":{"type":"boolean","types":["boolean"]},"usageTestRuns":{"type":"string","types":["string"]},"allTestsCountsRanges":{"type":"string","types":["string"]},"sampleDataVsCurlMap":{"type":"string","types":["string"]},"selectedTests":{"type":"array","items":{"type":"string","types":["string"]},"types":["array"]},"filters":{"type":"string","types":["string"]},"testingRunType":{"type":"string","types":["string"]},"recurringDaily":{"type":"boolean","types":["boolean"]},"overriddenTestAppUrl":{"type":"string","types":["string"]},"workflowTest":{"type":"string","types":["string"]},"testingRun":{"type":"string","types":["string"]},"testRunTime":{"type":"integer","format":"int32","types":["integer"]},"misConfiguredTestsCount":{"type":"integer","format":"int32","types":["integer"]},"startTimestamp":{"type":"integer","format":"int32","types":["integer"]},"errorEnums":{"type":"string","types":["string"]},"triggeredBy":{"type":"string","types":["string"]}},"types":["object"]}}}}}}}}}
```

## Bulk-export collection sample data for Burp Suite

> Paginates through the sample data of the named collection and returns Burp Suite-compatible raw HTTP request + response strings for each endpoint. Pagination is cursor-based: pass \`lastUrlFetched\` and \`lastMethodFetched\` from the previous response to fetch the next page. Maximum 500 endpoints per page.\
> \
> Source: \`ExportSampleDataAction.importInBurp()\`

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/importInBurp":{"post":{"summary":"Bulk-export collection sample data for Burp Suite","description":"Paginates through the sample data of the named collection and returns Burp Suite-compatible raw HTTP request + response strings for each endpoint. Pagination is cursor-based: pass `lastUrlFetched` and `lastMethodFetched` from the previous response to fetch the next page. Maximum 500 endpoints per page.\n\nSource: `ExportSampleDataAction.importInBurp()`","operationId":"importInBurp","tags":["Burp Suite"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["collectionName"],"properties":{"collectionName":{"type":"string","description":"Name of the API collection to paginate."},"lastUrlFetched":{"type":"string","description":"Pagination cursor: URL returned at the end of the previous page. Omit on the first request."},"lastMethodFetched":{"type":"string","description":"Pagination cursor: HTTP method returned at the end of the previous page. Omit on the first request."},"limit":{"type":"integer","description":"Number of endpoints per page. Values ≤ 0 or > 500 are clamped to 500."}}}}}},"responses":{"200":{"description":"Paginated Burp request/response entries.","content":{"application/json":{"schema":{"type":"object","properties":{"importInBurpResult":{"type":"array","description":"List of Burp-formatted entries for this page.","items":{"type":"object","properties":{"url":{"type":"string","description":"Absolute URL for the endpoint."},"req":{"type":"string","description":"Raw HTTP request in Burp format (with absolute URL)."},"res":{"type":"string","description":"Raw HTTP response in Burp format."}}}},"lastUrlFetched":{"type":"string","description":"Pass this value as `lastUrlFetched` in the next request to get the next page. `null` when there is no more data."},"lastMethodFetched":{"type":"string","description":"Pass this value as `lastMethodFetched` in the next request."},"actionErrors":{"type":"array","items":{"type":"string"}}}}}}},"400":{"description":"`collectionName` does not match any existing collection."}}}}}}
```

## Upload a recorded login flow

> Stores a recorded login flow and optionally executes it to extract an auth token. Two modes are supported:\
> \
> \- \*\*Standard mode\*\* (default): \`miniTestingServiceName\` is null or \`hybridTestingEnabled\` is false for the account. The flow is triggered asynchronously. \`testingRunPlaygroundId\` is null in the response.\
> \- \*\*Hybrid mode\*\*: \`miniTestingServiceName\` is set AND the account has \`hybridTestingEnabled\`. A \`TestingRunPlayground\` document is created and its ID is returned. Poll \`fetchRecordedFlowOutput\` with this ID to retrieve the token.\
> \
> Source: \`LoginRecorderAction.uploadRecordedFlow()\`

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/uploadRecordedFlow":{"post":{"summary":"Upload a recorded login flow","description":"Stores a recorded login flow and optionally executes it to extract an auth token. Two modes are supported:\n\n- **Standard mode** (default): `miniTestingServiceName` is null or `hybridTestingEnabled` is false for the account. The flow is triggered asynchronously. `testingRunPlaygroundId` is null in the response.\n- **Hybrid mode**: `miniTestingServiceName` is set AND the account has `hybridTestingEnabled`. A `TestingRunPlayground` document is created and its ID is returned. Poll `fetchRecordedFlowOutput` with this ID to retrieve the token.\n\nSource: `LoginRecorderAction.uploadRecordedFlow()`","operationId":"uploadRecordedFlow","tags":["Login Flow Recorder"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content","tokenFetchCommand","roleName"],"properties":{"content":{"type":"string","description":"JSON string representing the recorded login flow steps."},"tokenFetchCommand":{"type":"string","description":"JavaScript expression or command executed after the login flow to extract the auth token (e.g. `document.cookie`)."},"roleName":{"type":"string","description":"Name of the test role to associate with this login flow."},"miniTestingServiceName":{"type":"string","description":"If set and the account has `hybridTestingEnabled`, activates hybrid mode and a `TestingRunPlayground` ID is returned for polling."}}}}}},"responses":{"200":{"description":"Flow uploaded. `testingRunPlaygroundId` is non-null only in hybrid mode.","content":{"application/json":{"schema":{"type":"object","properties":{"testingRunPlaygroundId":{"type":"string","description":"ObjectId hex of the `TestingRunPlayground` document. `null` in standard mode."},"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/api-reference/security-testing/modify-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
