Operations 10
GET
/reports/project/{id}/schedule-narrative.pdf
Download the monthly schedule narrative for a project (PDF)
#
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/onplana-com:onplana-com-reports-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Onplana Reports API
version: 1.0.0
description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: Reports
description: PDF and Excel report exports
paths:
/reports/project/{id}/pdf:
get:
tags:
- Reports
summary: Download a PDF report for a project (STARTER+ - exportPdf)
description: Accepts the JWT via a `token` query parameter so the browser can fetch the file directly without a custom header.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication (alternative to Authorization header)
responses:
'200':
description: PDF file download
content:
application/pdf:
schema:
type: string
format: binary
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getReportsProjectByIdPdf
x-operation-id-source: derived
/reports/project/{id}/schedule-narrative.pdf:
get:
tags:
- Reports
summary: Download the monthly schedule narrative for a project (PDF)
description: 'The narrative a scheduler attaches to a monthly schedule update, as a branded PDF: progress against the baseline finish, the critical path and its changes against the newest baseline, slipped milestones, earned value, the DCMA 14-point score with its failing checks, and the P50 and P80 finish of the newest finished risk run. A section with no data says so in a sentence. Deterministic (no AI call), read-only, every plan. Earned value only for a caller who may read the project''s cost. The same visibility rule as the other project downloads. The MCP tool schedule_narrative_report returns the same report as data. 404 SCHEDULE_NARRATIVE_OFF while the operator switch is off.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication (alternative to Authorization header)
- name: orgId
in: query
required: false
schema:
type: string
description: Organization id, when the X-Organization-Id header cannot be sent
responses:
'200':
description: PDF file download
content:
application/pdf:
schema:
type: string
format: binary
'404':
description: Project not found or not visible, or the report is switched off (SCHEDULE_NARRATIVE_OFF)
operationId: getReportsProjectByIdScheduleNarrativePdf
x-operation-id-source: derived
/reports/schedule-narrative-status:
get:
tags:
- Reports
summary: Whether the schedule narrative report is offered
description: Returns { enabled } for the operator switch behind GET /reports/project/{id}/schedule-narrative.pdf. The same answer for every organization.
responses:
'200':
description: The switch state
content:
application/json:
schema:
type: object
properties:
enabled:
type: boolean
required:
- enabled
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
operationId: getReportsScheduleNarrativeStatus
x-operation-id-source: derived
/reports/project/{id}/mspdi:
get:
tags:
- Reports
summary: Download the project as MS Project XML (MSPDI)
description: 'Returns an MSPDI .xml file that opens natively in Microsoft Project, carrying the WBS hierarchy, task dependencies with type and lag, resources and assignments, percent complete and costs. Each task''s Duration is its scheduled duration (the schedule engine''s, in days of an 8-hour day), and its effort (estimated hours) is the assignee''s Work. Available on every plan, with the same visibility rule as the Excel export: the caller must own the project, be a member of it, or hold org.project.view.all. Task constraints, deadlines and working calendars are NOT carried: the file holds fixed dates, so it opens correct and Microsoft Project applies its own default calendar if the schedule is recalculated there. Refuses a project over 20,000 non-summary tasks with 422 FILE_TOO_COMPLEX.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication
responses:
'200':
description: MSPDI XML file
'404':
description: Project not found, or not visible to the caller
'422':
description: Too many tasks to convert in one request
'503':
description: The conversion service is temporarily unavailable, retry
operationId: getReportsProjectByIdMspdi
x-operation-id-source: derived
/reports/project/{id}/gantt.pdf:
get:
tags:
- Reports
summary: Download the project Gantt chart as a PDF
description: 'Renders the Gantt server-side as a vector PDF: a task table (WBS number, name, start, finish, and with table=full also duration, percent and owner), the timeline with weekend and holiday shading from the project calendar, status-coloured bars with progress, summary brackets, milestone diamonds, finish-to-start arrows, an optional baseline overlay and the critical path in red. Available on every plan with the same visibility rule as the Excel and MSPDI exports. Refuses more than 20,000 tasks (422 FILE_TOO_COMPLEX) and a layout over 600 pages (422 PDF_TOO_LARGE). Rate limited to 30 exports per user per hour (429).'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication
- name: pageSize
in: query
required: false
schema:
type: string
description: A4 (default), A3, A2, A1, A0, LETTER or TABLOID
- name: orientation
in: query
required: false
schema:
type: string
description: landscape (default) or portrait
- name: margins
in: query
required: false
schema:
type: string
description: narrow (0.25in), normal (default, 0.5in) or wide (0.75in)
- name: scale
in: query
required: false
schema:
type: string
description: auto (default), day, week or month
- name: fit
in: query
required: false
schema:
type: string
description: 'width (default: the whole range on one page width) or tiled (fixed legible density across horizontal pages)'
- name: table
in: query
required: false
schema:
type: string
description: compact (default) or full
- name: from
in: query
required: false
schema:
type: string
description: 'YYYY-MM-DD, start of the printed range (default: earliest task)'
- name: to
in: query
required: false
schema:
type: string
description: 'YYYY-MM-DD, end of the printed range (default: latest task)'
- name: baselineId
in: query
required: false
schema:
type: string
description: A saved baseline to overlay as grey bars
- name: showCriticalPath
in: query
required: false
schema:
type: string
description: 1 (default) or 0
- name: showDependencies
in: query
required: false
schema:
type: string
description: 1 (default) or 0
- name: showBaseline
in: query
required: false
schema:
type: string
description: 1 (default) or 0; only applies when baselineId is given
- name: hideCompleted
in: query
required: false
schema:
type: string
description: 0 (default) or 1; drops DONE tasks and their subtasks
responses:
'200':
description: PDF file download; X-Gantt-Pdf-Pages carries the page count
content:
application/pdf:
schema:
type: string
format: binary
'400':
description: Invalid export options
'404':
description: Project or baseline not found, or project not visible to the caller
'422':
description: Too many tasks, or the layout would exceed 600 pages
'429':
description: Rate limited
operationId: getReportsProjectByIdGanttPdf
x-operation-id-source: derived
/reports/project/{id}/gantt.png:
get:
tags:
- Reports
summary: Download the project Gantt chart as a single PNG image
description: The same drawing as gantt.pdf, laid out on one page tall enough for every row and rasterized. The page size sets the image width (fit=tiled widens it to a legible day density instead of adding pages); the height grows with the row count. Refuses a schedule too tall for one image (422 PNG_TOO_LARGE, use the PDF) and answers 501 PNG_UNAVAILABLE on a deployment without the rasterizer. Same query options, visibility rule and rate limit as gantt.pdf.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication
- name: pageSize
in: query
required: false
schema:
type: string
description: A4 (default), A3, A2, A1, A0, LETTER or TABLOID; sets the image width
- name: orientation
in: query
required: false
schema:
type: string
description: landscape (default) or portrait; portrait narrows the image
- name: margins
in: query
required: false
schema:
type: string
description: narrow, normal (default) or wide
- name: scale
in: query
required: false
schema:
type: string
description: auto (default), day, week or month
- name: fit
in: query
required: false
schema:
type: string
description: width (default) or tiled (widen to a legible day density)
- name: table
in: query
required: false
schema:
type: string
description: compact (default) or full
- name: from
in: query
required: false
schema:
type: string
description: YYYY-MM-DD, start of the drawn range
- name: to
in: query
required: false
schema:
type: string
description: YYYY-MM-DD, end of the drawn range
- name: baselineId
in: query
required: false
schema:
type: string
description: A saved baseline to overlay as grey bars
- name: showCriticalPath
in: query
required: false
schema:
type: string
description: 1 (default) or 0
- name: showDependencies
in: query
required: false
schema:
type: string
description: 1 (default) or 0
- name: showBaseline
in: query
required: false
schema:
type: string
description: 1 (default) or 0; only applies when baselineId is given
- name: hideCompleted
in: query
required: false
schema:
type: string
description: 0 (default) or 1; drops DONE tasks and their subtasks
responses:
'200':
description: PNG file download; X-Gantt-Png-Width and X-Gantt-Png-Height carry the pixel size
content:
image/png:
schema:
type: string
format: binary
'400':
description: Invalid export options
'404':
description: Project or baseline not found, or project not visible to the caller
'422':
description: Too many tasks, or too many rows for one image
'429':
description: Rate limited
'501':
description: PNG rendering is not available on this deployment
operationId: getReportsProjectByIdGanttPng
x-operation-id-source: derived
/reports/project/{id}/gantt-preview.png:
get:
tags:
- Reports
summary: Preview the first page of the project Gantt PDF
description: 'The export dialog''s preview: the same PDF gantt.pdf would send for the same query (same options, refusals and renderer), with its first page rasterized at low resolution. Inline and not cached. X-Gantt-Pdf-Pages carries the page count of the full PDF. Its own rate limit of 240 previews per user per hour, apart from the exports. Answers 501 PREVIEW_UNAVAILABLE on a deployment without the rasterizer.'
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication
- name: pageSize
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: orientation
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: margins
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: scale
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: fit
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: table
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: from
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: to
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: baselineId
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: showCriticalPath
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: showDependencies
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: showBaseline
in: query
required: false
schema:
type: string
description: As gantt.pdf
- name: hideCompleted
in: query
required: false
schema:
type: string
description: As gantt.pdf
responses:
'200':
description: PNG of page 1; X-Gantt-Pdf-Pages carries the full page count
content:
image/png:
schema:
type: string
format: binary
'400':
description: Invalid export options
'404':
description: Project or baseline not found, or project not visible to the caller
'422':
description: Too many tasks, or the layout would exceed 600 pages
'429':
description: Rate limited
'501':
description: The rasterizer is not available on this deployment
operationId: getReportsProjectByIdGanttPreviewPng
x-operation-id-source: derived
/reports/project/{id}/excel:
get:
tags:
- Reports
summary: Download an Excel report for a project
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: id
in: path
required: true
schema:
type: string
description: Project UUID
- name: token
in: query
required: true
schema:
type: string
description: JWT for authentication
responses:
'200':
description: Excel file download
content:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
schema:
type: string
format: binary
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getReportsProjectByIdExcel
x-operation-id-source: derived
/reports/timesheets/excel:
get:
tags:
- Reports
summary: Download timesheet data as an Excel export
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: projectId
in: query
required: false
schema:
type: string
description: Scope export to a single project
- name: userId
in: query
required: false
schema:
type: string
description: Scope export to a single user
- name: from
in: query
required: false
schema:
type: string
description: ISO date - export start range
- name: to
in: query
required: false
schema:
type: string
description: ISO date - export end range
responses:
'200':
description: Excel timesheet export
content:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
schema:
type: string
format: binary
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
operationId: getReportsTimesheetsExcel
x-operation-id-source: derived
/reports/portfolio/pdf:
get:
tags:
- Reports
summary: Download a PDF summary of the caller's projects in the organization
description: Covers every project in the organization the caller owns or is a member of. Accepts the JWT via a `token` query parameter and the organization via `orgId`, so the browser can fetch the file directly without custom headers.
parameters:
- $ref: '#/components/parameters/OrgHeader'
- name: token
in: query
required: false
schema:
type: string
description: JWT for authentication (alternative to the Authorization header)
- name: orgId
in: query
required: false
schema:
type: string
description: Organization id (alternative to the X-Organization-Id header); one of the two is required
responses:
'200':
description: Portfolio PDF download
content:
application/pdf:
schema:
type: string
format: binary
'400':
description: Validation error
'401':
description: Unauthorized - missing or invalid JWT
'402':
description: Plan gate - feature not available on current plan
operationId: getReportsPortfolioPdf
x-operation-id-source: derived
components:
parameters:
OrgHeader:
name: X-Organization-Id
in: header
required: true
description: UUID of the active organization. Sets org context for all scoped operations.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
patAuth:
type: apiKey
in: header
name: Authorization
description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
oauthApp:
type: oauth2
description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
scopes:
tasks: Read and write the tasks assigned to the person, read their projects, log their time.
schedule: Read projects and create or update them (publish a schedule).
mcp: The MCP tool surface, as a member-capped agent persona.
webhooks: Create, list, change and delete the app's own webhook subscriptions.