Skip to main content
POST
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Body

application/json
project_id
integer
required
report_extension
enum<string>
Available options:
xlsx,
pdf
columns_list
string[]

Used for report_extension xlsx only. pdf uses used_fields instead.

include_components
boolean

xlsx: appends a trailing "Component Quantity" column and inserts an extra, shaded row right after each item's row for every component linked via an outgoing item link, rendering the same columns_list with the component's own data plus the link's quantity in the trailing column. pdf: nests a components array under each project_items row, one entry per linked component, carrying the same used_fields as the item row plus component_quantity. One level deep in both formats.

filter
object
area_ids
integer[] | null

Scopes quantity (and any formula depending on it) to the sum of the given areas' contributions instead of the item's global total. Each id must reference an active area belonging to the project.

per_page
integer

Used for report_extension pdf only. Internal DB fetch batch size while building the report; does not limit the report's total item count. Defaults to a server-side value and is silently clamped to a max of 100 rather than rejected.

groups
object[]

Used for report_extension pdf only.

used_fields
object

Used for report_extension pdf only. Selects which schema-defined record and collection fields to resolve.

js_report_template
object

Response

Accepted

id
integer
required
status
enum<string>
required
Available options:
processing,
completed,
failed
report_kind
enum<string>
required
Available options:
projects_list,
project_items_list,
product_items_list,
cross_project_items_list,
project_items_matrix,
package_baseline_items_list,
cross_project_baseline_items_list,
purchase_orders_list,
goods_receipts_list,
supplier_invoices_list,
purchase_order_record,
supplier_invoice_record,
goods_receipt_record
report_extension
enum<string>
required
Available options:
xlsx,
pdf
job_id
string<uuid>
required
project
object | null
required
error_message
string | null
required

Free-text failure reason (only set for failed reports)

created_at
string<date-time>
required
project_id
integer | null
file_url
string | null