Skip to content
POST/api/v1/analysis/resources/async

Resource Analysis (Async)

Submit resource analysis as async job.

Request example

json
json
{
  "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.

FieldTypeRequiredDescription
status_datestring | nullOptionalSchedule status date (ISO 8601 YYYY-MM-DD). When omitted, today's date is used as the resource loading window anchor.
resource_availabilityarray<app__models__schemas__ResourceAvailability__2> | nullOptionalOptional declared resource capacities
resource_availability[].resource_namestringOptionalResource name (must match task resource fields)
resource_availability[].units_per_daynumberOptionalAvailable units per day
resource_availability[].available_fromstring | nullOptionalAvailability start date (ISO 8601)
resource_availability[].available_tostring | nullOptionalAvailability end date (ISO 8601)
optionsobjectOptionalOptions controlling resource analysis behaviour.
options.period_size_daysintegerOptionalHistogram bucket size in days
options.include_histogram_databooleanOptionalInclude demand histogram per resource
options.include_leveling_candidatesbooleanOptionalInclude leveling candidate tasks
options.include_critical_path_resourcesbooleanOptionalInclude CP resource section
options.include_resource_curvesbooleanOptionalInclude cumulative resource curves
options.over_allocation_thresholdnumberOptionalMultiplier of declared capacity (or 1.0/day default) that triggers over-allocation
options.exclude_task_typesarray<string>OptionalTask types to exclude from analysis (e.g. 'loe', 'summary')
options.fieldsarray<string> | nullOptionalResponse fields to include (sparse fieldset)

Response example

json
json
{
  "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.

FieldTypeRequiredDescription
typestringRequiredDocumentation URL for the code: https://bellatorsi.com/problems/<slug>.
titlestringRequiredShort summary of the problem type.
statusintegerRequiredHTTP status code.
detailstringRequiredWhat went wrong in this request.
codestringRequiredStable 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

TermsPrivacyContact

Schedule analysis guidance. Not legal advice. You remain responsible for contract and agency compliance.