POST/api/v1/health/planning-horizon/async
Planning Horizon (Async)
Submit planning horizon analysis 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"
}
],
"status_date": "string",
"schedule_history": [
{}
],
"options": {
"horizon_bands": [
{
"name": "string",
"days": 0
}
],
"readiness_dimensions": [
"logic"
],
"day_type": "calendar",
"include_risk_ranking": true,
"include_recommendations": true,
"min_float_days": 5,
"max_forecast_drift_days": 3
}
}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 |
|---|---|---|---|
| status_date | string | null | Optional | Current data date (ISO 8601, e.g. '2026-03-17'). When omitted, today's date is used as the planning horizon anchor. |
| schedule_history | array<object> | null | Optional | No description in OpenAPI contract. |
| options | object | Optional | Options controlling planning horizon analysis. |
| options.horizon_bands | array<HorizonBandConfig> | Optional | No description in OpenAPI contract. |
| options.horizon_bands[].name | string | Optional | No description in OpenAPI contract. |
| options.horizon_bands[].days | integer | Optional | No description in OpenAPI contract. |
| options.readiness_dimensions | array<string> | Optional | No description in OpenAPI contract. |
| options.day_type | string | Optional | No description in OpenAPI contract. |
| options.include_risk_ranking | boolean | Optional | No description in OpenAPI contract. |
| options.include_recommendations | boolean | Optional | No description in OpenAPI contract. |
| options.min_float_days | integer | Optional | No description in OpenAPI contract. |
| options.max_forecast_drift_days | integer | Optional | No description in OpenAPI contract. |
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_planning_horizon_async
- Section
- Health
- Tags
- Health
- Playground link
- /playground?endpoint=%2Fapi%2Fv1%2Fhealth%2Fplanning-horizon%2Fasync&method=post
Was this page helpful?
Your feedback helps us improve docs, reference pages, and Playground flows.
Topic: Planning Horizon (Async) · Page: /docs/api-reference/health_planning_horizon_async