Update test
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Changes a test's name, goal or role. Send only the fields you want to change. Send role as null to clear it, so Base44 picks a role from the test's name or goal again.
Each edit raises the test's revision by 1. You can't edit a test while it has a run going, so cancel the run or wait for it to end first.
This is limited to 300 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>
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/testing-agent/flows/{flow_id}
- Auth: HTTP bearer
Path parameters
ID of the app.
ID of the test to update.
Request body
Example request
{
"name": "Create a project",
"goal": "Sign up, create a project called Launch, and check that it appears on the dashboard.",
"role": "admin"
}Response
The updated test.
Example response
{
"id": "68a1c2e4f0b3d9001a7e5c21",
"app_id": "6820f3a4e7b91d003c45a1f2",
"name": "Create a project",
"goal": "Sign up, create a project called Launch, and check that it appears on the dashboard.",
"role": "admin",
"source": "manual",
"revision": 1,
"created_date": "2026-09-28T10:15:00+00:00",
"updated_date": "2026-09-28T10:15:00+00:00"
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info