GET
/
production_batches
Get Production Batches
curl --request GET \
  --url https://api.sandbox.isometric.com/mrv/v0/production_batches \
  --header 'Authorization: Bearer <token>' \
  --header 'x-client-secret: <x-client-secret>'
{
  "nodes": [
    {
      "display_name": "<string>",
      "ended_at": "2023-11-07T05:31:56Z",
      "facility_id": "fcl_1G8QT5ZAB1S0XSDW",
      "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
      "id": "ptb_1GAFJ4C051S06E0Z",
      "kind": "biochar",
      "mass": {
        "magnitude": 123,
        "standard_deviation": 123,
        "unit": "<string>"
      },
      "started_at": "2023-11-07T05:31:56Z",
      "supplier_reference_id": "<string>",
      "uploaded_at": "2023-11-07T05:31:56Z"
    }
  ],
  "page_info": {
    "end_cursor": "<string>",
    "has_next_page": true,
    "has_previous_page": true,
    "start_cursor": "<string>"
  },
  "total_count": 123
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Examples:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Query Parameters

supplier_reference_id
string | null

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.

Required string length: 1 - 100
last
integer
default:10

An integer number of items to retrieve before the item represented by the cursor passed in the before parameter. Defaults to 10 with a maximum value of 50.

Required range: 0 < x <= 50
before
string | null

An opaque cursor representing the first item in the previously requested page to select items ordered before it. Submit the previously requested page’s start_cursor here when paginated backwards.

Minimum length: 1
first
integer
default:10

An integer number of items to retrieve after the item represented by the cursor passed in the after parameter. Defaults to 10 with a maximum value of 50.

Required range: 0 < x <= 50
after
string | null

An opaque cursor representing the last item in the previously requested page to select items ordered after it. Submit the previously requested page’s end_cursor here when paginated forwards.

Minimum length: 1

Response

200
application/json

Successful Response

The response is of type object.