Skip to main content

PI Planning for integrators and assistants

What this page is — every way software, rather than a person in the room, reaches PI Planning: the read-only Orbit Public API and the matching MCP tools, the questions the Orbit Assistant answers, the e-mails, bells and webhook a session sends, and the session API and live connection the app itself uses.

What it is for — showing PI objectives, ROAM risks and cross-team dependencies in a portfolio tool or a status page, letting a stakeholder ask "how is PI 2026.4 going?" in plain language, and knowing which messages a session sends and to whom.

The problem it solves — the outcome of a planning event is needed far beyond the room: by portfolio managers, finance and other trains. Without an interface somebody copies objectives and risks into slides by hand, and the slides are out of date by the first iteration review. These interfaces read the same session the room sees, while every decision that changes the plan stays with people in the session.

Base path: /api/v1/ext/task/pi-planning · Credentials: an API key from Developers → API keys with the scope task:pi_planning:read · Assistant: needs Open PI Planning sessions read-only: brief, team boards, program board, risks, discussion, objectives and review.


1. What is available, and to whom​

InterfaceDirectionWho uses itReadsWrites
Public APIYour system → OrbitIntegrations with an API keyPlanning teams, sessions with their teams and objectives, risks, cross-team dependenciesNothing
MCP toolsAn AI agent → OrbitAgents connected with an API keyThe same as the APINothing
Orbit AssistantA person → OrbitAnyone with the read-only PI Planning permissionA summary, sessions, one session, its risksNothing
E-mails and bellsOrbit → peopleParticipants, the RTE, team leads——
Webhook planning.committedOrbit → your systemIntegrations subscribed on Developers → Webhooks—Sent once when a PI plan is committed
Session API and live connectionThe Orbit app → OrbitThe app, as the signed-in personEverything in a sessionEverything the person's permissions and session role allow

What is deliberately not exposed to keys. A PI session is run live by people: the agenda, moving cards, placing features, answering dependencies, scoring business value, the vote, the merge and the commit are decisions taken in the room. No API key, MCP tool or assistant question can change a session. Discussion posts, chat messages and individual votes are not exposed to keys either.


2. Why you would use it​

  • Portfolio reporting without slides. A portfolio tool reads each PI's objectives and business value, and after the PI the delivered value — predictability across trains, updated automatically.
  • A risk register that stays current. Pull the ART-level risks of every running session into an enterprise risk register each night, with their ROAM state and owner.
  • Dependency visibility across trains. Read accepted and proposed cross-team links to see which teams are waiting on which.
  • Answers in seconds. A Business Owner asks the assistant what PI 2026.4's objectives are without opening the session, at no credit cost.

3. Step by step — connect an integration​

  1. Open Developers → API keys, create a key and tick task:pi_planning:read (Read PI Planning: planning teams, PI sessions with their teams and objectives, ROAM risks and cross-team dependencies). Existing keys do not gain the scope by themselves; edit the key to add it. Bind the key to one project if the integration should see only that project.
  2. Send the key on every call, as X-Orbit-API-Key: … or Authorization: Bearer ….
  3. Call GET /sessions to list the project's sessions and pick one by name or status.
  4. Call GET /sessions/{id} for its teams and objectives, then /sessions/{id}/risks and /sessions/{id}/dependencies.
  5. For the organisation's planning teams, call GET /teams.

The organisation always comes from the key. An org-wide key passes project_id on every session call; a project-bound key always uses its own project and ignores project_id. A session of another project is simply not found.


4. Field reference​

Endpoints​

Method and pathQuery parametersReturns
GET /teamsproject_id (only teams linked to it; implied for a project-bound key), include_inactive (true or false, default false)data: teams
GET /sessionsproject_id, status (comma-separated: draft, briefing, planning, review, adjusting, committed, closed), include_closed (default false; asking for closed in status includes them)data: sessions, newest first
GET /sessions/{id}project_idOne session with its teams and objectives
GET /sessions/{id}/risksproject_id, roam (comma-separated open, owned, mitigated, accepted, resolved), view (all, team, program)data: risks, open first
GET /sessions/{id}/dependenciesproject_id, status (comma-separated proposed, accepted, declined)data: cross-team dependencies, oldest first

Errors use the standard envelope. An unknown query parameter is refused with 400 unknown_parameter, which also lists the accepted ones; a value outside the lists gives 400 invalid_status, invalid_roam, invalid_view or invalid_include_closed. An org-wide key without project_id gets 400 project_id_required; a project outside the key's organisation gets 404 project_not_found; an unknown session gets 404 session_not_found.

Team​

FieldTypeNotes
id, name, code, description, colourtextcode up to 12 characters; colour like #1E88E5
lead_user_id, lead_nameid, textMay be empty
is_activeboolean
members[]user_id, name, role, allocationrole is member, lead, scrum_master or po; allocation is the share of time, 0–1. No contact details
projects[]project_id, nameA project-bound key sees only its own project here
updated_attimestamp

Session​

FieldTypeNotes
id, project_id, project_name, name
pi_milestone_id, pi_title, pi_start, pi_endThe PI phase on the roadmap
iteration_ids[]idsThe PI's sprints, fixed when the session was published
status, roundtext, numberround is the planning round: 1 for Day 1's breakouts, one more with each adjustment round. The confidence vote's own vote rounds are not counted here
facilitator_user_id, facilitator_nameThe RTE
started_at, ended_at, closed_attimestampsWhen planning started, ended, and when the session closed
commit_ididThe Planning commit, once committed
created_at, updated_attimestamps
teams[]team_id, name, code, colour, status, item_count, members, demoed_at, merged_atTeam status is planning, demoed or committed; item_count is the number of tasks on its board; members is a count
objectives[] (single session only)see below

Objective​

id, team_id (empty for an ART objective), title, description, business_value (1–10, set by the Business Owners), actual_value (scored after the PI), committed (false = a stretch objective), sort_order, updated_at, art_objective_id (the ART objective a team objective rolls up into, set in Post-PI Planning).

Risk​

id, team_id (empty = a programme risk), title, description, roam, owner_user_id, owner_name, impact and likelihood (low, medium, high or empty), linked_task_ids[], synthesised (combined from several team risks), merged_into (set on a team risk that was combined), art_level (a team risk placed at ART level), escalated_at, escalated_by_name, roam_note (how it was resolved, what is accepted, or the mitigation plan), roamed_at, roamed_by_name, created_by, created_by_name, created_at, updated_at.

Reading what the Risks tab shows

The session's Risks tab lists ART-level and programme risks only; team risks stay on their team's board. To read the same set, call view=all and keep the rows where art_level is true or team_id is empty.

Cross-team dependency​

id, from_team_id (owns the work needed), to_team_id (waits for it), predecessor_task_id or predecessor_category_id (the other team's story, or its whole feature), task_id (the waiting story), dependency_type (finish-to-start, start-to-start, finish-to-finish, start-to-finish), lag_days, needed_by_iteration_id, note, status, created_by, created_by_name, created_at, accepted_by, accepted_at, pushed_at, and the faces of both ends: task_ref, task_title, predecessor_ref, predecessor_title, predecessor_category_name.

status is proposed, accepted or declined — or draft for a link a team has prepared and not yet sent to the other team. Drafts are returned when no status filter is given and cannot be asked for by name.

MCP tools​

The five reads are MCP tools for AI agents connected to Orbit's MCP server with an API key carrying the scope: list_pi_planning_teams, list_pi_sessions, get_pi_session, list_pi_risks, list_pi_dependencies. Their parameters are the query parameters above.

Orbit Assistant​

ToolAnswersExample question
PI Planning at a glanceOpen sessions, open ROAM risks, teams not yet merged, sessions committed in the last 30 days, the next or running session"How is PI planning going?"
PI sessionsRecent sessions with status, planning round, PI, teams and facilitator; can keep only the ones still being planned"Which PI sessions are running?"
One PI sessionStatus, planning round, PI, facilitator, clock, each team's status and items, objectives with business value, risks by ROAM state, links by status, the current vote round's average"What are the objectives of PI 2026.4?"
PI risksA session's risks, open first, with team, owner, impact and likelihood; team risks already combined are left out"What are the open risks in PI 2026.4?"

The assistant answers only for projects the person is a member of, needs the read-only PI Planning permission, costs no credits and never changes anything.

E-mails and bells​

WhenBellE-mail (template)To
The RTE publishes the sessionYesPI Planning Session Published — subject "You are invited: session name (PI dates)"Everyone in the session: team members, the RTE, the Product Manager, the System Architect and the Business Owners
The RTE broadcasts with the bell or e-mail tickedYesPI Planning Broadcast — subject "session name: message from facilitator"Every participant except the sender
Someone is @mentioned in a postYes—The person mentioned, if they take part in the session
A cross-team dependency is proposedYes—Members with the role Lead or Scrum master in the team that owns the needed work
The PI plan is committedYes, PI plan committedPI Planning Session Committed — subject "PI plan committed: session in project"Bell: every participant except the committer. E-mail: the RTE and the team leads
The PI plan is committed—Planning's own plan-committed e-mailThe project's managers, as for any Planning commit

The three templates are edited under communication templates like any other. Their variables: recipient_name, session_name, project_name, facilitator_name, organization_name in all three; published_by_name, your_role, summary_html, overview_url and the PI dates for Published; body_html, body_text, session_url for Broadcast; committed_by_name, committed_at, summary_html, summary_text for Committed. The published e-mail links to the session's read-only plan overview page.

Webhook​

There is no PI-specific event. Committing a PI plan is a Planning commit, so planning.committed (group Orbit Ops – Planning on Developers → Webhooks) fires once per committed PI plan, with Planning's usual payload — see Planning for integrators.

The session API the app uses​

The PI Planning page talks to /api/v1/projects/…/pi-planning and the organisation's planning teams to /api/v1/org/planning. These routes run as the signed-in person, never with an API key, and are not a supported integration surface; they are listed so an administrator can see which permission each area needs.

AreaPaths (under the project base unless shown)Read needsChange needs
Planning teams, people, skill catalogue/api/v1/org/planning/teams, …/people, …/skillsSee the organisation's planning teams, their members and projects.Create, edit and deactivate planning teams, set their members and link them to projects.
Project PI settings, role rules, default checklists and questions, linked teams/settings, /role-rules, /art-readiness-items, /sos-checkpoints, /mgmt-questions, /working-agreements, /teamsOpen PI Planning sessions read-only: …Create, edit and close PI sessions, choose the participating teams, and edit the project's PI Planning settings.
Sessions: create and edit/sessions, /sessions/{sid}Read-only permissionCreate sessions with the manage permission; the RTE and teams edit within their session role
Running the agenda, clock, breaks, broadcasts, review, restart, merge/sessions/{sid}/run/start, …/agenda/items/{itemId}/start, …/break/start, …/broadcast, …/merge—Run a PI session: …, or the team-member permission when the person is the session's named facilitator
Commit/sessions/{sid}/commit—As for running, plus Planning's Create and edit scenarios, move and assign tasks on the board, edit capacity and goals, manage planned hires, and commit a scenario to real tasks.
Team boards, features, capacity plans/sessions/{sid}/teams/{team}/…Read-only permissionTake part in a PI session as a team member: … on the person's own team, or the facilitate permission
Posts, risks, objectives, dependencies, votes/sessions/{sid}/posts, …/risks, …/objectives, …/dependencies, …/votesRead-only permissionTeam-member or facilitate permission; objectives also with the manage permission
Undo a team's answer to a management decision/sessions/{sid}/mgmt-review/actions/{aid}/undo—Team-member, facilitate or manage permission; the RTE or the team the decision waits for, while the session is open
Post-PI ART events/sessions/{sid}/post-pi/events/claim—As for Post-PI. Claims only the events not created yet, so pressing Create events twice never makes an event twice
Shared presentation/sessions/{sid}/presentation — read the current one; start, move or stop itRead-only permissionStarting needs a management role in the session (the RTE, Product Manager, System Architect, a Business Owner, or the manage permission); only the presenter moves it; the presenter or the RTE ends it
Readiness, Scrum of Scrums, management review, adjustments, final review, ART risks, confidence, rework, retrospective, Post-PI, distributed format, agreements, chat/sessions/{sid}/art-readiness, …/sos, …/mgmt-review, …/adjustments, …/final-review, …/art-risks, …/confidence, …/retro, …/post-pi, …/distributed, …/agreements, …/chatRead-only permissionAny PI Planning permission; the session role in the project's rule book then decides
Cockpit tile and the header's live light/api/v1/org/planning/pi-sessions/cockpit-summary, …/live-mineRead-only permission—

On top of these permissions, every change is checked against the session's status and the person's role in it, as set in Roles and permissions. A refusal names the rule with a short code; the app shows the matching message:

CodeMeaning in the app
participants_onlyOnly the people taking part in the session (the teams, the RTE and the ART roles) can do this. — for example agreeing to the working agreements or voting in the ART confidence vote
confidence_vote_offThe confidence vote is switched off for this project (Project settings → PI Planning).
management_onlyOnly management may do this, for example write the Management review or start a shared presentation
someone_presentingSomeone else is presenting — they end it first, or the RTE takes over.
not_the_presenterOnly the presenter moves or ends this presentation.
cannot_undoThis change was applied before it could be undone — change the board by hand.

The live connection​

The PI Planning page keeps one live connection per open session, so the clock, agenda, posts, board moves, votes and shared presentations appear on every screen at once. It is a WebSocket at /api/v1/projects/…/pi-planning/sessions/…/ws on your Orbit API address, opened as the signed-in person; an API key cannot open it. If a proxy or firewall blocks WebSocket upgrades, the page still works: it reconnects with growing pauses and, while disconnected, catches up every five seconds. Allow WebSocket traffic to the API address for instant updates.


5. Worked example​

The portfolio office of Agile Digest wants a weekly report on its trains. The administrator creates the key Portfolio report with task:pi_planning:read, org-wide. Each Monday the report job calls:

GET /api/v1/ext/task/pi-planning/sessions?project_id=…&status=committed,closed
X-Orbit-API-Key: …

It finds PI 2026.4 Planning for the project Optima Orbit (status: committed, three teams: Phoenix, Atlas and Orion) and calls GET /sessions/{id}?project_id=…. The objectives array holds the ART objective Shoppers pay in one tap on any network — card or UPI — for the investor demo (team_id empty) and the teams' objectives, each committed one carrying the ART objective's id in art_objective_id. Phoenix's Shoppers pay with a saved card in one tap has business_value: 10. After the PI, once actual values are scored, the job divides the delivered value by the planned value of the committed objectives for its predictability figure.

The same job calls /sessions/{id}/risks?view=all and keeps the ART-level rows: the NPCI certification risk (roam: owned, owner_name: Marco Rossi, art_level: true), the code freeze (accepted) and the Apple Pay approval (mitigated, with the mitigation plan in roam_note). Meanwhile Sofia Alvarez, a Business Owner, asks the assistant "What are the open risks in PI 2026.4?" and gets the same picture without a key.


6. The admin contract​

NeededWithout it
task:pi_planning:read on the keyEvery PI call returns 403
project_id on org-wide keys400 project_id_required
The read-only PI Planning permission and project membership, for the assistantIt declines PI questions, or sees none of the person's sessions
The three e-mail templates switched onThe bell still goes out, but no e-mail
A planning.committed subscription on Developers → WebhooksNothing is sent to your system on commit
WebSocket traffic allowed to the API addressThe page falls back to catching up every few seconds

7. Don't confuse this with…​

ThisIs notBecause
The PI Planning APIPlanning for integratorsThe Planning API reads committed plans per time box, burndown and scenarios. A committed PI plan is readable there too, as an ordinary Planning commit
A session's objectives hereTask dataAfter the commit the PI plan's iterations, assignees and dependencies are on the tasks, readable through the Tasks API
The session API in section 4A public APIIt runs only as a signed-in person and can change without notice; integrate through the Public API
A bell or e-mail listed hereYour notification preferencesThose decide what a person receives in general; this table says which PI events create messages

8. Troubleshooting​

SymptomCauseWhat to do
403 on every PI callThe key lacks task:pi_planning:readEdit the key and add the scope
400 project_id_requiredAn org-wide key without project_idPass the project, or use a project-bound key
400 unknown_parameterA query parameter the endpoint does not accept, such as page or limitUse only the parameters in the endpoint table; the error lists them
400 invalid_view for view=artThe API accepts all, team and programUse view=all and filter on art_level and team_id
404 session_not_foundThe session belongs to another project, or the id is wrongCheck project_id; list the sessions first
A project-bound key returns another project's data than expectedIt always uses its own project; project_id is ignoredUse a key bound to the right project, or an org-wide key
Closed sessions are missingThey are hidden by defaultinclude_closed=true or status=closed
Dependencies with status: draft appearA team prepared a link and has not sent itIgnore drafts, or filter on status=proposed,accepted,declined
A team risk is missing from the assistant's answerIt was combined into a programme riskRead the programme risk; the API still returns the original with merged_into
objectives have no actual_valueThe PI has not been scored yetRead again after the PI
No invitation e-mail after publishingThe PI Planning Session Published template is off, or the person has no e-mailSwitch the template on; check the user's address
The map of PI PlanningPI Planning in Orbit Ops
Committing the planPost-PI Planning
Who may do what in a sessionRoles and permissions
The Planning APIPlanning for integrators