POST/api/v1/health/logic-audit/async
Logic Audit (Async)
Submit logic audit as async job.
Request example
jsonjson
{
"tasks": [
{
"id": "T1",
"duration_days": 5
}
]
}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 |
|---|---|---|---|
| tasks | array<unknown> | Required | Schedule tasks to audit (minimum 2 tasks) |
| tasks[].id | string | Required | Unique task identifier |
| 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
{
"score": 92,
"grade": "A"
}Schema
json-schema
{
"$ref": "#/components/schemas/LogicAuditRequest"
}Authentication
- x-api-key header
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