← API reference
Mutation / jobs

createProductionReport

Create a production report and any consumption rows. Requires productionReport:write.

Arguments

The report to record, plus any consumption rows written in the same transaction. Vertical packages add further fields to this input; unknown fields are captured into the report's extensions blob.

Returns CreateProductionReportPayload!

Explore in a view

Production Floor
View exact SDL
"""
Create a production report and any consumption rows. Requires productionReport:write.
"""
createProductionReport(
  """
  The report to record, plus any consumption rows written in the same transaction. Vertical packages add further fields to this input; unknown fields are captured into the report's extensions blob.
  """
  input: CreateProductionReportInput!
): CreateProductionReportPayload! @topic(names: ["jobs"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.