POST/api/v1/health/logic-audit/async
Logic Audit (Async)
Submit logic audit as async job.
Request example
jsonjson
{
"schedule_fixture": "string",
"tasks": [
{
"duration_days": 10,
"id": "T1",
"name": "Design Phase",
"percent_complete": 0,
"planned_finish": "2026-01-15",
"planned_start": "2026-01-01",
"predecessors": [],
"resource": "Team A"
}
],
"start_task_ids": [
"string"
],
"finish_task_ids": [
"string"
],
"options": {
"max_examples_per_rule": 10,
"include_network_stats": true,
"include_forensic_paths": false,
"severity_threshold": "low",
"enable_recommendations": true,
"max_lag_days": 5,
"relationship_type_thresholds": {
"fs_min_percentage": 80,
"ss_max_percentage": 20,
"ff_max_percentage": 20,
"sf_max_percentage": 5
}
}
}Built from the request schema: field names and types, not a sample run.
Request fields from OpenAPI contract
Required fields and the optional fields that change this call are listed here. The shared task model stays on the task schema guide.This table is generated from the endpoint schema in openapi.json.
| Field | Type | Required | Description |
|---|---|---|---|
| options | object | Optional | Options controlling Logic Audit analysis behavior. |
| options.max_examples_per_rule | integer | Optional | Maximum number of example task IDs returned per rule |
| options.include_network_stats | boolean | Optional | Include network topology statistics in response |
| options.include_forensic_paths | boolean | Optional | Include full cycle/path details (may be large) |
| options.severity_threshold | string | Optional | Minimum severity level to include in findings |
| options.enable_recommendations | boolean | Optional | Include recommended fixes in response |
| options.max_lag_days | number | Optional | Threshold above which a lag is flagged as excessive (days) |
| options.relationship_type_thresholds | object | Optional | Configurable thresholds for relationship type distribution checks. |
| options.relationship_type_thresholds.fs_min_percentage | number | Optional | Minimum FS relationship percentage (default 80%) |
| options.relationship_type_thresholds.ss_max_percentage | number | Optional | Maximum SS relationship percentage (default 20%) |
| options.relationship_type_thresholds.ff_max_percentage | number | Optional | Maximum FF relationship percentage (default 20%) |
| options.relationship_type_thresholds.sf_max_percentage | number | Optional | Maximum SF relationship percentage (default 5%) |
Response example
jsonjson
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string"
}Built from the response schema: field names and types, not a sample run.
Response fields from OpenAPI contract
This table is generated from the endpoint response schema in openapi.json.
| Field | Type | Required | Description |
|---|---|---|---|
| type | string | Required | Documentation URL for the code: https://bellatorsi.com/problems/<slug>. |
| title | string | Required | Short summary of the problem type. |
| status | integer | Required | HTTP status code. |
| detail | string | Required | What went wrong in this request. |
| code | string | Required | Stable UPPER_SNAKE machine code. |
Schema
json-schema
{
"$ref": "#/components/schemas/ProblemDetails"
}Authentication
- API key required
Reference details
- Operation ID
- health_logic_audit_async
- Section
- Health
- Tags
- Health
- Playground link
- /playground?endpoint=%2Fapi%2Fv1%2Fhealth%2Flogic-audit%2Fasync&method=post
Was this page helpful?
Your feedback helps us improve docs, reference pages, and Playground flows.
Topic: Logic Audit (Async) · Page: /docs/api-reference/health_logic_audit_async