Reanalyze test run

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Writes a new report for a finished test run from the steps the run already recorded. The browser doesn't run again. The new report replaces the old one, and the run's goal_accomplished follows the new verdict.

It also finishes a run stuck in analyzing whose steps were saved, and that run then ends normally.

This makes an AI call and costs credits, which are recorded against the user who started the run. It runs while you wait, usually for under a minute, and returns the new report. If it fails, the old report stays. The call is refused when the workspace is out of credits.

This is limited to 20 requests per minute per caller for each app. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. Read-only keys and workspace API keys are refused.</Note>

post/api/apps/{app_id}/testing-agent/analysis/{execution_id}/reanalyze

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/testing-agent/analysis/{execution_id}/reanalyze
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app.

execution_idstring required

ID of the run to reanalyze.

Response

The new report.

idstring required

ID of the report.

app_idstring required

ID of the app.

flow_idstring required

ID of the test.

execution_idstring required

ID of the run.

flow_goalstring required

The test's goal when the run started.

status'goal_accomplished' | 'goal_not_accomplished' | 'failed' | 'timeout' required

The verdict. failed and timeout mean the report couldn't reach one, and summary says what happened.

summarystring required

Plain-language summary of the run.

created_datestring required

When the report was written, as an ISO 8601 UTC timestamp.

updated_datestring required

When the report last changed, as an ISO 8601 UTC timestamp.

Example response

{
  "id": "68a1ca02f0b3d9001a7e5d11",
  "app_id": "6820f3a4e7b91d003c45a1f2",
  "flow_id": "68a1c2e4f0b3d9001a7e5c21",
  "execution_id": "68a1c9b7f0b3d9001a7e5d04",
  "flow_goal": "Sign up, create a project called Launch, and check that it appears on the dashboard.",
  "status": "goal_accomplished",
  "summary": "The project was created and listed on the dashboard, but only after a reload.",
  "issues": [
    {
      "category": "functionality",
      "related_step_number": 3,
      "severity": "warning",
      "summary": "After saving, the dashboard still shows no projects until the page is reloaded.",
      "title": "Project doesn't appear after creation"
    }
  ],
  "created_date": "2026-09-28T10:18:39+00:00",
  "updated_date": "2026-09-28T10:18:39+00:00"
}

Changes