---
title: "Post Production Batch"
method: POST
path: "/production_batches"
---

# Post Production Batch

`POST /production_batches`

Creates a production batch in the Isometric system

## Headers

- `x-client-secret` string, required — A secret token identifying the client connecting to the API

## Request body

- CreateProductionBatchRequest
  - `facility_id` string, required — The facility where the production batch was created
  - `feedstock_type_ids` string[], required — The kinds of feedstock used to create this production batch
  - `supplier_reference_id` string, required — A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.
  - `kind` 'biochar', required
  - `started_at` string, date-time, required — The date and time at which production of this production batch was started
  - `ended_at` string, date-time, required — The date and time at which production of this production batch was completed
  - `mass` ScalarQuantity, required
    - `magnitude` number, required
    - `unit` string, required
    - `standard_deviation` number, nullable
  - `display_name` string, nullable — The display name for this production batch. If not provided, one will be auto-generated from the facility name

## Response `200`

Successful Response

- ProductionBatch
  - `id` string, required
  - `facility_id` string, required
  - `feedstock_type_ids` string[], required
  - `supplier_reference_id` string, nullable, required — A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.
  - `kind` 'biochar', required
  - `started_at` string, date-time, required
  - `ended_at` string, date-time, required
  - `uploaded_at` string, date-time, required
  - `display_name` string, required
  - `mass` ScalarQuantity, required
    - `magnitude` number, required
    - `unit` string, required
    - `standard_deviation` number, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api.md) · [All operations](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/isometric/isometric-certify-data-ingestion-api/versions/9819e9c8ccf0/schema)
