POST/api/v1/analysis/resources/async
Resource Analysis (Async)
Submit resource 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",
"resource_availability": [
{
"resource_name": "string"
}
],
"options": {
"period_size_days": 7,
"include_histogram_data": true,
"include_leveling_candidates": true,
"include_critical_path_resources": true,
"include_resource_curves": false,
"over_allocation_threshold": 1,
"exclude_task_types": [
"string"
],
"fields": [
"string"
]
}
}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 | Schedule status date (ISO 8601 YYYY-MM-DD). When omitted, today's date is used as the resource loading window anchor. |
| resource_availability | array<app__models__schemas__ResourceAvailability__2> | null | Optional | Optional declared resource capacities |
| resource_availability[].resource_name | string | Optional | Resource name (must match task resource fields) |
| resource_availability[].units_per_day | number | Optional | Available units per day |
| resource_availability[].available_from | string | null | Optional | Availability start date (ISO 8601) |
| resource_availability[].available_to | string | null | Optional | Availability end date (ISO 8601) |
| options | object | Optional | Options controlling resource analysis behaviour. |
| options.period_size_days | integer | Optional | Histogram bucket size in days |
| options.include_histogram_data | boolean | Optional | Include demand histogram per resource |
| options.include_leveling_candidates | boolean | Optional | Include leveling candidate tasks |
| options.include_critical_path_resources | boolean | Optional | Include CP resource section |
| options.include_resource_curves | boolean | Optional | Include cumulative resource curves |
| options.over_allocation_threshold | number | Optional | Multiplier of declared capacity (or 1.0/day default) that triggers over-allocation |
| options.exclude_task_types | array<string> | Optional | Task types to exclude from analysis (e.g. 'loe', 'summary') |
| options.fields | array<string> | null | Optional | Response fields to include (sparse fieldset) |
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
- analysis_resources_async
- Section
- Analysis
- Tags
- Analysis
- Playground link
- /playground?endpoint=%2Fapi%2Fv1%2Fanalysis%2Fresources%2Fasync&method=post
Was this page helpful?
Your feedback helps us improve docs, reference pages, and Playground flows.
Topic: Resource Analysis (Async) · Page: /docs/api-reference/analysis_resources_async