Skip to main content

Configuration & API

Per-project configuration

Logic Assurance settings are stored as sparse overrides (config name testgen). You change only what you need, and the rest tracks product defaults.

SettingMeaningDefault
metadataEntityCapMaximum custom entities whose Dataverse metadata is pre-fetched per artifact (1 to 25)6
defaultTestCasesPerArtifactDefault suite size when a request does not specify one (1 to 20)5
excludedEntityPrefixesPublisher prefixes skipped during metadata pre-fetchflwn_, def_
Prompt parametersOutput language, glossary, and free-text addendumempty

Test-count precedence: an explicit value on the generation request wins, then the per-project default, then the deployment-wide default from application settings.

The metadata cap and excluded prefixes let you tune how much of the schema each generator pulls in. Raise the cap for artifacts that touch many entities; add prefixes to skip publishers whose entities are not relevant to your tests.

REST API

The base path is api/tests. The web application is a client of this API, so every capability is available programmatically.

Generation and browsing

Method and pathPurpose
POST /api/tests/generateStart a generation job and receive a jobId
GET /api/tests/jobs/{jobId}/streamSubscribe to the generation progress stream (SSE)
GET /api/tests/projects/{projectId}/artifactsList the testable artifacts in a project
GET /api/tests/projects/{projectId}/coverage?ids=…Get coverage counts for a set of artifacts

Suites and configuration

Method and pathPurpose
GET /api/tests/projects/{projectId}/artifacts/{artifactId}/suiteRead an artifact's test suite
PUT /api/tests/projects/{projectId}/artifacts/{artifactId}/suiteSave an artifact's test suite
GET /api/tests/configGet the effective test-generation defaults
GET /api/tests/projects/{projectId}/configRead the effective config plus overrides
PUT /api/tests/projects/{projectId}/configSave a sparse override document
GET /api/projectsList available projects

All endpoints require authentication and act on behalf of the signed-in user. See the Installation guide for the auth model.