Skip to main content
Get Drive Cycle
curl --request GET \
  --url https://api.ionworks.com/drive-cycles/{drive_cycle_id}
{
  "name": "<string>",
  "data": [
    [
      123
    ]
  ],
  "organization_id": "<string>",
  "id": "<string>",
  "content_hash": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "measurement_id": "<string>"
}

Path Parameters

drive_cycle_id
string
required

Response

Successful Response

Pydantic model for the drive_cycles table.

name
string
required

Drive cycle filename (e.g. WLTP_5Ah_10%%_1800s.txt)

data
number[][]
required

Two-column array [[time, current], ...]

organization_id
string
required

Owning organization

id
string | null

Unique identifier

content_hash
string | null

SHA-256 hash of name + canonical data for deduplication

created_at
string<date-time> | null

Creation timestamp

measurement_id
string | null

Source measurement ID when drive cycle was extracted from measurement data