---
title: "Seed the app modeling work frontier (internal)"
method: POST
path: "/appModeling/run/seedFrontier"
tags: ["AppModeling"]
---

# Seed the app modeling work frontier (internal)

`POST /appModeling/run/seedFrontier`

Upserts the app_model_coordinator row for the given application and reconciles the
work frontier with all app-tagged test invariant IDs. Called exclusively by the
TypeScript initiateAppModelingRun handler — not intended for external callers.
Idempotent: re-running on an existing frontier safely adds new tests and removes
de-tagged ones.

## Query parameters

- `workspaceId` string, required

## Request body

- SeedAppModelingFrontierRequest — Request to seed or reconcile the work frontier for an app modeling run.
  - `application_id` string, required — The application whose tests seed the frontier.
  - `run_session_id` string, required — The run coordinator session ID, stored on the coordinator row.

## Response `200`

Frontier seeded successfully

- SeedAppModelingFrontierResponse — Response from seedAppModelingFrontier.
  - `seeded_test_count` integer, required — Number of test invariant IDs now in the work frontier.

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `404` — Application not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
