---
title: "Get Drive Cycle"
method: GET
path: "/drive-cycles/{drive_cycle_id}"
---

# Get Drive Cycle

`GET /drive-cycles/{drive_cycle_id}`

Fetch a single drive cycle including its data array.

Parameters
----------
drive_cycle_id : str
    Drive cycle UUID.

Returns
-------
DriveCycle
    Full drive cycle record with data.

Raises
------
NotFoundError
    If the drive cycle does not exist or is not accessible.

## Path parameters

- `drive_cycle_id` string, required

## Response `200`

Successful Response

- DriveCycle — Pydantic model for the drive_cycles table.
  - `id` string, nullable — Unique identifier
  - `name` string, required — Drive cycle filename (e.g. WLTP_5Ah_10%%_1800s.txt)
  - `data` array[], required — Two-column array [[time, current], ...]
    - number[]
  - `content_hash` string, nullable — SHA-256 hash of name + canonical data for deduplication
  - `organization_id` string, required — Owning organization
  - `created_at` string, date-time, nullable — Creation timestamp
  - `measurement_id` string, nullable — Source measurement ID when drive cycle was extracted from measurement data
  - `created_by` string, nullable — User ID of the uploader. Drive cycles are deduplicated by content hash, so this is whoever uploaded the content first.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
