---
title: "Get latest run per test"
method: GET
path: "/api/apps/{app_id}/testing-agent/executions/latest-by-flow"
---

# Get latest run per test

`GET /api/apps/{app_id}/testing-agent/executions/latest-by-flow`

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

Returns each test's most recent run, with its report, in one call. The response is an object keyed by test ID. A test that has never run isn't in it, and a deleted test's last run still is.

Only the app's 1,000 most recent runs are considered, so a test whose last run is older than that is left out. The object isn't paged.

This is limited to 6000 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 access to the app. Read-only keys are refused even though this endpoint only reads, and workspace API keys are not accepted.</Note>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

## Path parameters

- `app_id` string, required — ID of the app.

## Response `200`

Each test's most recent run, keyed by test ID.

- LatestTestRuns — Each test's most recent run, keyed by the test's ID.

## Other responses

- `401` — Missing or invalid credentials.
- `403` — You don't have access to this app, the app is blocked, or your API key is read-only or a workspace API key.
- `404` — App not found.
- `409` — Your workspace requires an unlocked SSO session.
- `429` — Rate limit exceeded.

## Changes

- **2026-10-06** `76f124abd92c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/idealspot/apis/base44-app-management-api/changes/api/apps/:app_id/testing-agent/executions/latest-by-flow/get.md)

---

[API](https://skmtc.dev/idealspot/apis/base44-app-management-api.md) · [All operations](https://skmtc.dev/idealspot/apis/base44-app-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/idealspot/apis/base44-app-management-api/revisions/dddf17e0f9f0?raw)
