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
| Interface | Direction | Who uses it | Reads | Writes |
|---|---|---|---|---|
| Public API | Your system → Orbit | Integrations with an API key | Planning teams, sessions with their teams and objectives, risks, cross-team dependencies | Nothing |
| MCP tools | An AI agent → Orbit | Agents connected with an API key | The same as the API | Nothing |
| Orbit Assistant | A person → Orbit | Anyone with the read-only PI Planning permission | A summary, sessions, one session, its risks | Nothing |
| E-mails and bells | Orbit → people | Participants, the RTE, team leads | — | — |
Webhook planning.committed | Orbit → your system | Integrations subscribed on Developers → Webhooks | — | Sent once when a PI plan is committed |
| Session API and live connection | The Orbit app → Orbit | The app, as the signed-in person | Everything in a session | Everything 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
- 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.
- Send the key on every call, as
X-Orbit-API-Key: …orAuthorization: Bearer …. - Call
GET /sessionsto list the project's sessions and pick one bynameorstatus. - Call
GET /sessions/{id}for its teams and objectives, then/sessions/{id}/risksand/sessions/{id}/dependencies. - 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 path | Query parameters | Returns |
|---|---|---|
GET /teams | project_id (only teams linked to it; implied for a project-bound key), include_inactive (true or false, default false) | data: teams |
GET /sessions | project_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_id | One session with its teams and objectives |
GET /sessions/{id}/risks | project_id, roam (comma-separated open, owned, mitigated, accepted, resolved), view (all, team, program) | data: risks, open first |
GET /sessions/{id}/dependencies | project_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
| Field | Type | Notes |
|---|---|---|
id, name, code, description, colour | text | code up to 12 characters; colour like #1E88E5 |
lead_user_id, lead_name | id, text | May be empty |
is_active | boolean | |
members[] | user_id, name, role, allocation | role is member, lead, scrum_master or po; allocation is the share of time, 0–1. No contact details |
projects[] | project_id, name | A project-bound key sees only its own project here |
updated_at | timestamp |
Session
| Field | Type | Notes |
|---|---|---|
id, project_id, project_name, name | ||
pi_milestone_id, pi_title, pi_start, pi_end | The PI phase on the roadmap | |
iteration_ids[] | ids | The PI's sprints, fixed when the session was published |
status, round | text, number | round 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_name | The RTE | |
started_at, ended_at, closed_at | timestamps | When planning started, ended, and when the session closed |
commit_id | id | The Planning commit, once committed |
created_at, updated_at | timestamps | |
teams[] | team_id, name, code, colour, status, item_count, members, demoed_at, merged_at | Team 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.
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
| Tool | Answers | Example question |
|---|---|---|
| PI Planning at a glance | Open 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 sessions | Recent sessions with status, planning round, PI, teams and facilitator; can keep only the ones still being planned | "Which PI sessions are running?" |
| One PI session | Status, 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 risks | A 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
| When | Bell | E-mail (template) | To |
|---|---|---|---|
| The RTE publishes the session | Yes | PI 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 ticked | Yes | PI Planning Broadcast — subject "session name: message from facilitator" | Every participant except the sender |
| Someone is @mentioned in a post | Yes | — | The person mentioned, if they take part in the session |
| A cross-team dependency is proposed | Yes | — | Members with the role Lead or Scrum master in the team that owns the needed work |
| The PI plan is committed | Yes, PI plan committed | PI 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-mail | The 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.
| Area | Paths (under the project base unless shown) | Read needs | Change needs |
|---|---|---|---|
| Planning teams, people, skill catalogue | /api/v1/org/planning/teams, …/people, …/skills | See 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, /teams | Open 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 permission | Create 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 permission | Take 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, …/votes | Read-only permission | Team-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 it | Read-only permission | Starting 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, …/chat | Read-only permission | Any 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-mine | Read-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:
| Code | Meaning in the app |
|---|---|
participants_only | Only 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_off | The confidence vote is switched off for this project (Project settings → PI Planning). |
management_only | Only management may do this, for example write the Management review or start a shared presentation |
someone_presenting | Someone else is presenting — they end it first, or the RTE takes over. |
not_the_presenter | Only the presenter moves or ends this presentation. |
cannot_undo | This 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
| Needed | Without it |
|---|---|
task:pi_planning:read on the key | Every PI call returns 403 |
project_id on org-wide keys | 400 project_id_required |
| The read-only PI Planning permission and project membership, for the assistant | It declines PI questions, or sees none of the person's sessions |
| The three e-mail templates switched on | The bell still goes out, but no e-mail |
A planning.committed subscription on Developers → Webhooks | Nothing is sent to your system on commit |
| WebSocket traffic allowed to the API address | The page falls back to catching up every few seconds |
7. Don't confuse this with…
| This | Is not | Because |
|---|---|---|
| The PI Planning API | Planning for integrators | The 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 here | Task data | After the commit the PI plan's iterations, assignees and dependencies are on the tasks, readable through the Tasks API |
| The session API in section 4 | A public API | It runs only as a signed-in person and can change without notice; integrate through the Public API |
| A bell or e-mail listed here | Your notification preferences | Those decide what a person receives in general; this table says which PI events create messages |
8. Troubleshooting
| Symptom | Cause | What to do |
|---|---|---|
403 on every PI call | The key lacks task:pi_planning:read | Edit the key and add the scope |
400 project_id_required | An org-wide key without project_id | Pass the project, or use a project-bound key |
400 unknown_parameter | A query parameter the endpoint does not accept, such as page or limit | Use only the parameters in the endpoint table; the error lists them |
400 invalid_view for view=art | The API accepts all, team and program | Use view=all and filter on art_level and team_id |
404 session_not_found | The session belongs to another project, or the id is wrong | Check project_id; list the sessions first |
| A project-bound key returns another project's data than expected | It always uses its own project; project_id is ignored | Use a key bound to the right project, or an org-wide key |
| Closed sessions are missing | They are hidden by default | include_closed=true or status=closed |
Dependencies with status: draft appear | A team prepared a link and has not sent it | Ignore drafts, or filter on status=proposed,accepted,declined |
| A team risk is missing from the assistant's answer | It was combined into a programme risk | Read the programme risk; the API still returns the original with merged_into |
objectives have no actual_value | The PI has not been scored yet | Read again after the PI |
| No invitation e-mail after publishing | The PI Planning Session Published template is off, or the person has no e-mail | Switch the template on; check the user's address |
Related
| The map of PI Planning | PI Planning in Orbit Ops |
| Committing the plan | Post-PI Planning |
| Who may do what in a session | Roles and permissions |
| The Planning API | Planning for integrators |