Forecasting API
The Forecasting API provides endpoints for managing forecast scenarios, external events, accuracy metrics, and channel projections.Scope: Tenant-scoped; requires authenticated org context
Availability: Not available in SuperAdmin
Availability: Not available in SuperAdmin
Authentication
All requests require authentication. Include your API key in theAuthorization header:
Base URL
Headers
All requests must include:Endpoints
Example Requests
List Forecast Scenarios
Create Forecast Scenario
Create External Event
Common Errors
401 Unauthorized
Authorization header.
403 Forbidden
400 Bad Request
404 Not Found
Query Parameters
List Scenarios
status: Filter by status (DRAFT,PUBLISHED,ARCHIVED)type: Filter by type (BASELINE,PROMOTIONAL,CONSERVATIVE,OPTIMISTIC,CHANNEL_LAUNCH,CUSTOM)includeArchived: Include archived scenarios (boolean)
List Events
from: Start date (ISO string, default: today)to: End date (ISO string, default: +90 days)productMasterId: Filter by productlocationId: Filter by locationtype: Filter by event typeincludeGlobal: Include global events (boolean, default: true)includeOrgWide: Include org-wide events (boolean, default: true)