---
title: "List the batches of a cell specification"
method: GET
path: "/cell_specifications/{cell_spec_id}/cell_batches"
tags: ["Cell Specifications", "Cell Batches"]
---

# List the batches of a cell specification

`GET /cell_specifications/{cell_spec_id}/cell_batches`

## Request

- Base URL: `https://api.ionworks.com`
- URL: `https://api.ionworks.com/cell_specifications/{cell_spec_id}/cell_batches`
- Auth: none declared

List a specification's batches, each with its ``instance_count``.

Parameters
----------
cell_spec_id : str
    Specification whose batches to list.
limit : int, optional
    Page size, 1–1000. Defaults to 100.
offset : int, optional
    Number of records to skip.
order_by : {"name", "date_manufactured", "created_at", "updated_at"}, optional
    Column to sort by. Defaults to ``created_at``.
order : {"asc", "desc"}, optional
    Sort direction. Defaults to ``desc``.

Returns
-------
CellBatchListResponse
    Page of batches plus the total number matching the filters.

## Path parameters

- `cell_spec_id` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer
- `name` string, nullable: Name filter, e.g. ``ilike.%2026%`` for a partial match
- `created_at` string, nullable
- `created_at_gt` string, nullable
- `created_at_lt` string, nullable
- `updated_at` string, nullable
- `updated_at_gt` string, nullable
- `updated_at_lt` string, nullable
- `order_by` 'name' | 'date_manufactured' | 'created_at' | 'updated_at'
- `order` 'asc' | 'desc'

## Response `200`

Successful Response

- CellBatchListResponse: Paginated list of cell batches.
  - `items` CellBatch[], required
    - `id` string, required: Unique identifier for the batch
    - `organization_id` string, required: ID of the organization that owns this batch
    - `project_id` string, required: ID of the project that owns this batch
    - `cell_specification_id` string, required: Cell specification this batch is a production run of
    - `name` string, required: Lot name or number, unique (case-insensitively) per specification
    - `notes` string, nullable: Free-text notes about the batch
    - `date_manufactured` string, date, nullable: Manufacture date of the batch
    - `properties` object, nullable: Free-form lot metadata (datasheet lot number, QC results). Numeric values use the Quantity format.
    - `created_by` string, nullable: User ID of the user who created this batch
    - `created_at` string, date-time, required: When the batch was created
    - `updated_at` string, date-time, required: When the batch was last updated
    - `instance_count` integer: Number of cell instances filed under this batch
  - `count` integer, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `1f50d4b61910`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ionworks/apis/ionworks-api/changes/cell_specifications/:cell_spec_id/cell_batches/get.md)

---

[API](https://skmtc.dev/ionworks/apis/ionworks-api.md) - [All operations](https://skmtc.dev/ionworks/apis/ionworks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ionworks/apis/ionworks-api/revisions/abebbbc5f60a?raw)
