Strategy API

ProBeya provides a full strategy deployment and analysis suite covering five domains: Hoshin Kanri for X-Matrix strategy deployment, Balanced Scorecard for Kaplan & Norton BSC with strategy maps, Agile/SAFe for Program Increment planning, PM Standards for PMBOK v8 and governance, and Strategy Analysis for 17 frameworks (SWOT, PESTLE, Porter, BCG, etc.).

Hoshin Kanri (X-Matrix)

Deploy strategy through the four-quadrant model: strategic objectives, annual objectives, improvement priorities, and KPIs.

Matrix lifecycle: draft → active → closed

Objective statuses: on_track, at_risk, behind, completed

Endpoints


POST /api/v1/hoshin/matrices

Create a new Hoshin Kanri X-Matrix for a strategy deployment cycle.

tRPC: hoshin.createMatrix Auth: Bearer token required (scope: write:items) or session cookie Org context: Required

Parameters:

NameTypeRequiredDescription
namestringYesMatrix name (max 255 chars)
fiscalYearstringYesFiscal year identifier (e.g., “FY2026”)
configobjectNoVisual layout, color schemes, custom quadrant labels

GET /api/v1/hoshin/matrices

List all X-Matrices for the organization with optional filters.

tRPC: hoshin.listMatrices Auth: Bearer token required (scope: read:items) or session cookie Org context: Required

Parameters:

NameTypeRequiredDescription
fiscalYearstring (query)NoFilter by fiscal year
statusstring (query)NoFilter by draft, active, closed
limitnumber (query)NoResults per page (default: 20, max: 100)
offsetnumber (query)NoPagination offset (default: 0)

GET /api/v1/hoshin/matrices/:id

Retrieve a single X-Matrix with all its objectives organized by quadrant.

tRPC: hoshin.getMatrix Auth: Bearer token required (scope: read:items) or session cookie Org context: Required

tRPC-Only Hoshin Procedures

ProcedureTypeDescription
hoshin.updateMatrixmutationUpdate matrix name, fiscal year, status, or config
hoshin.deleteMatrixmutationDelete a matrix and all its objectives (cascade)
hoshin.addObjectivemutationAdd an objective to a quadrant (strategic, annual, improvement, kpi)
hoshin.updateObjectivemutationUpdate objective text, status, alignment, or sort order
hoshin.deleteObjectivemutationRemove an objective from the matrix

Quadrant types: strategic, annual, improvement, kpi


Balanced Scorecard

Implements the Kaplan & Norton BSC framework with strategy maps, perspectives, objectives, measures, initiatives, and causal links. New scorecards automatically seed four default perspectives (Financial, Customer, Internal Process, Learning & Growth).

tRPC-Only BSC Procedures

ProcedureTypeDescription
balancedScorecard.createmutationCreate a scorecard (auto-seeds 4 perspectives)
balancedScorecard.updatemutationUpdate scorecard title, description, fiscal year, vision, mission
balancedScorecard.deletemutationDelete a scorecard and all children
balancedScorecard.getByIdqueryFull scorecard with perspectives, objectives, measures
balancedScorecard.listqueryPaginated list by workspace
balancedScorecard.createPerspectivemutationAdd a custom perspective
balancedScorecard.updatePerspectivemutationUpdate perspective name, color, icon
balancedScorecard.reorderPerspectivesmutationReorder perspectives
balancedScorecard.createObjectivemutationAdd a strategic objective to a perspective
balancedScorecard.updateObjectivemutationUpdate objective status, description, weight
balancedScorecard.createMeasuremutationDefine a KPI measure for an objective
balancedScorecard.recordMeasureHistorymutationRecord a measurement value
balancedScorecard.getMeasureHistoryqueryTime-series history of a measure
balancedScorecard.syncFromKpimutationSync measure values from SQCDP KPI definitions
balancedScorecard.createInitiativemutationCreate a strategic initiative linked to an objective
balancedScorecard.linkToProjectmutationLink an initiative to a PPM project
balancedScorecard.createLinkmutationCreate a causal link between objectives
balancedScorecard.getCausalChainqueryTraverse the cause-and-effect chain
balancedScorecard.getScorecardDashboardqueryDashboard with health scores per perspective
balancedScorecard.getStrategyHealthqueryOverall strategy health weighted average

Objective statuses: on_track, achieved, at_risk, not_started, off_track


Agile / SAFe

Manage Program Increments (PIs), teams, objectives, cross-team dependencies, and Planning Poker estimation sessions aligned with the SAFe framework.

tRPC-Only Agile Procedures

ProcedureTypeDescription
agile.createPImutationCreate a Program Increment with start/end dates
agile.updatePImutationUpdate PI details and status
agile.listPIsqueryList PIs with optional status filter
agile.getPIqueryFull PI detail with teams, objectives, dependencies
agile.addTeammutationAdd a team to a PI
agile.updateTeammutationUpdate team velocity, capacity
agile.removeTeammutationRemove a team from a PI
agile.addObjectivemutationAdd a PI objective for a team
agile.updateObjectivemutationUpdate objective value and status
agile.listObjectivesqueryList objectives for a PI
agile.addDependencymutationDeclare a cross-team dependency
agile.resolveDependencymutationMark a dependency as resolved
agile.listDependenciesqueryList dependencies for a PI
agile.castPokerVotemutationCast a Planning Poker vote
agile.getPokerResultsqueryGet aggregated poker results
agile.clearPokerVotesmutationReset poker votes for a new round

PM Standards (PMBOK v8, PM2, P3.express)

PMBOK v8 Performance Domain assessments, Focus Area tracking, PMO configuration and service catalog, Governance Reviews, and methodology-specific workflows for PM2, P3.express, micro.P3, and P5.express.

tRPC-Only PM Standards Procedures

ProcedureTypeDescription
pmStandards.createDomainAssessmentmutationRecord a PMBOK Performance Domain assessment
pmStandards.listDomainAssessmentsqueryAssessment history for a project
pmStandards.updateFocusAreamutationUpdate project focus area configuration
pmStandards.updatePmoConfigmutationUpdate PMO configuration
pmStandards.createGovernanceReviewmutationSchedule a governance review (gate, steering, audit)
pmStandards.completeGovernanceReviewmutationComplete a governance review with decision
pmStandards.createHealthReviewmutationRecord project health review
pmStandards.upsertValueMatrixEntrymutationUpdate portfolio value matrix entry
pmStandards.createProgrammeLogmutationCreate PM2 programme log entry
pmStandards.assignGovernanceRolemutationAssign PM2 governance role
pmStandards.createMindsetAssessmentmutationRecord PM2 mindset assessment
pmStandards.recordNuppAlignmentmutationRecord NUPP alignment check
pmStandards.getMethodologiesqueryList available methodology templates

Strategy Analysis

Unified API for 17 strategy frameworks with framework-specific JSONB validation, analysis items, and point-in-time snapshots for comparison.

Analysis lifecycle: draft → in_progress → completed → archived

Supported frameworks: SWOT, PESTLE, Porter’s Five Forces, BCG Matrix, Ansoff Matrix, Blue Ocean, McKinsey 7-S, Value Chain, VRIO, Core Competence, Scenario Planning, GE Matrix, OKR Alignment, Kano Model, Jobs-to-be-Done, Wardley Map, Business Model Canvas.

tRPC-Only Strategy Analysis Procedures

ProcedureTypeDescription
strategyAnalysis.createmutationCreate an analysis of any framework type
strategyAnalysis.updatemutationUpdate analysis (type is immutable after creation)
strategyAnalysis.deletemutationDelete analysis with cascading items and snapshots
strategyAnalysis.getByIdqueryFull analysis with items
strategyAnalysis.listqueryPaginated list with type and status filters
strategyAnalysis.duplicatemutationClone an analysis for iterative refinement
strategyAnalysis.addItemmutationAdd an item to an analysis
strategyAnalysis.updateItemmutationUpdate an analysis item
strategyAnalysis.removeItemmutationRemove an analysis item
strategyAnalysis.reorderItemsmutationReorder items within an analysis
strategyAnalysis.createSnapshotmutationTake a point-in-time snapshot
strategyAnalysis.listSnapshotsqueryList snapshots for an analysis
strategyAnalysis.compareSnapshotsqueryCompare two snapshots side-by-side

Error Codes

CodeDescription
400Invalid input (unknown framework type, invalid quadrant)
401Missing or invalid authentication
403Insufficient permissions for governance operations
404Matrix, scorecard, PI, analysis, or related entity not found