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

Resource Analysis

Run a time-phased resource analysis on a schedule.

Accepts a schedule payload (tasks), optional resource availability declarations, and analysis options. Returns demand profiles per resource, over-allocation periods, leveling candidates, and a composite risk score.

GAOAACE

Request example

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

FieldTypeRequiredDescription
tasksarray<unknown>RequiredSchedule tasks
tasks[].idstringRequiredUnique task identifier
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<unknown> | nullOptionalOptional declared resource capacities
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
{
  "score": 92,
  "grade": "A"
}

Response fields from OpenAPI contract

This table is generated from the endpoint response schema in openapi.json.

FieldTypeRequiredDescription
statusstringRequiredTop-level result status — always present in every response.
metadataobjectRequiredAudit trail and processing context — always present, never null.
metadata.task_countintegerRequiredNumber of tasks in the submitted schedule
metadata.endpointstringRequiredEndpoint path e.g. /api/v1/health/score

Schema

json-schema
{
  "$ref": "#/components/schemas/BellatorResponse_ResourceAnalysisData_"
}

Authentication

  • Starter tier or higher
  • x-api-key header

Reference details

Operation ID
analysis_resources
Section
Analysis
Tags
Analysis
Playground link
/playground?endpoint=/api/v1/analysis/resources&method=post

Was this page helpful?

Your feedback helps us improve docs, reference pages, and Playground flows.

Topic: Resource Analysis · Page: /docs/api-reference/analysis_resources

TermsPrivacyContact

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