APIAssembly

Get an assembly

GET
/public/v1/assemblies/{id}

Get a single assembly by ID, with its full outputs, inputs, and costs.

Like the list endpoint, this reflects eventually consistent data — an assembly you just created or updated may take up to a second to reflect its latest state here. Returns 404 if no assembly with that ID exists in your company, and 403 if your team restrictions hide it.

Required permission: assemblies_permissions_view.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Path Parameters

id*string

The ID of the assembly to fetch.

Response Body

A single assembly

*/*
  1. response

A single assembly

data?

A production job that turns input inventory (ingredients/components) into one or more finished output products — for example packaging bulk flower into units or producing pre-rolls.

Example Request
curl -X GET 'https://app.distru.com/public/v1/assemblies/cc07cd38-6972-479c-8ef0-04afbd514180'
Example Response
{  "data": {    "assembly_number": "AS-0000001",    "completion_datetime": "2026-10-13T15:03:36.609420Z",    "compliance_type": "NONE",    "creation_source": "MANUALLY_CREATED",    "creator": {      "banned": false,      "deleted_at": null,      "email": "[email protected]",      "full_name": "FirstName8654 LastName8655",      "id": "00000000-0000-0000-0000-0000000010b7",      "inserted_datetime": "2026-10-13T15:03:36.540158Z",      "role": {        "id": "00000000-0000-0000-0000-000000001151",        "name": "Admin 4431"      },      "updated_datetime": "2026-10-13T15:03:36.540158Z"    },    "custom_data": [],    "description": null,    "estimated_start_date": null,    "estimated_start_datetime": null,    "estimated_work_hours": null,    "estimated_work_minutes": null,    "fulfilled": true,    "id": "6307378a-fbb1-47dd-8d4e-2b0772ebe435",    "inserted_datetime": "2026-10-13T15:03:36.609420Z",    "is_metrc_processing_job": false,    "license": null,    "metrc_processing_job": null,    "metrc_processing_job_id": null,    "metrc_processing_job_name": null,    "metrc_processing_job_notes": null,    "metrc_processing_job_type_id": null,    "outputs": [      {        "additional_costs": [],        "batch": {          "batch_number": null,          "id": "00000000-0000-0000-0000-0000000002d2",          "name": "B2261"        },        "batch_number": null,        "bins": [],        "compliance_label": null,        "compliance_quantity": null,        "copy_custom_data_from_input": null,        "cost_per_unit": null,        "cost_per_unit_default": null,        "costs": [],        "expiration_date": null,        "expiration_datetime": null,        "id": "c254bec6-beb2-4f71-8110-af240e8e754b",        "ingredients": [          {            "batch": {              "batch_number": null,              "id": "00000000-0000-0000-0000-0000000002d2",              "name": "B2261"            },            "compliance_quantity": null,            "cost_per_unit": null,            "cost_per_unit_default": null,            "id": "fa2da595-aae5-477c-8062-dc3e5fb09be6",            "location": {              "address": "123 Fake Street, Beverly Hills, CA 90210, US",              "company_id": "00000000-0000-0000-0000-000000000b0f",              "id": "00000000-0000-0000-0000-0000000002f9",              "license_id": null,              "name": "Place 755"            },            "package": null,            "product": {              "id": "1112fbef-cb1b-44fe-9a52-918ec6942bdb",              "name": "Product 2259",              "sku": "sku 2260",              "updated_datetime": "2026-10-13T15:03:36.568869Z"            },            "quantity": "2",            "status": "COMPLETED",            "total_cost_actual": null,            "total_cost_default": null          }        ],        "inputs": [          {            "batch": {              "batch_number": null,              "id": "00000000-0000-0000-0000-0000000002d2",              "name": "B2261"            },            "compliance_quantity": null,            "cost_per_unit": null,            "cost_per_unit_default": null,            "id": "fa2da595-aae5-477c-8062-dc3e5fb09be6",            "location": {              "address": "123 Fake Street, Beverly Hills, CA 90210, US",              "company_id": "00000000-0000-0000-0000-000000000b0f",              "id": "00000000-0000-0000-0000-0000000002f9",              "license_id": null,              "name": "Place 755"            },            "package": null,            "product": {              "id": "1112fbef-cb1b-44fe-9a52-918ec6942bdb",              "name": "Product 2259",              "sku": "sku 2260",              "updated_datetime": "2026-10-13T15:03:36.568869Z"            },            "quantity": "2",            "status": "COMPLETED",            "total_cost_actual": null,            "total_cost_default": null          }        ],        "is_donation": false,        "is_finished_good": false,        "is_production_batch": false,        "is_test_sample": false,        "is_trade_sample": null,        "lab_test_batches": null,        "location": {          "address": "123 Fake Street, Beverly Hills, CA 90210, US",          "company_id": "00000000-0000-0000-0000-000000000b0f",          "id": "00000000-0000-0000-0000-0000000002f9",          "license_id": null,          "name": "Place 755"        },        "metrc_item_id": null,        "metrc_location_id": null,        "metrc_notes": null,        "metrc_production_batch_number": null,        "package": null,        "package_date": null,        "package_datetime": null,        "package_unit_type": null,        "product": {          "id": "1112fbef-cb1b-44fe-9a52-918ec6942bdb",          "name": "Product 2259",          "sku": "sku 2260",          "updated_datetime": "2026-10-13T15:03:36.568869Z"        },        "quantity": "2",        "status": "COMPLETED",        "total_cost_actual": null,        "total_cost_default": null,        "use_same_item": false      }    ],    "owner_id": "00000000-0000-0000-0000-0000000010b7",    "status": "COMPLETED",    "tasks": [],    "updated_datetime": "2026-10-13T15:03:36.609420Z",    "waste_count_quantity": null,    "waste_count_unit_name": null,    "waste_volume_quantity": null,    "waste_volume_unit_name": null,    "waste_weight_quantity": null,    "waste_weight_unit_name": null  }}