> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ionworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Drive Cycle

> 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.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /drive-cycles/{drive_cycle_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /drive-cycles/{drive_cycle_id}:
    get:
      summary: Get Drive Cycle
      description: |-
        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.
      operationId: get_drive_cycle_drive_cycles__drive_cycle_id__get
      parameters:
        - name: drive_cycle_id
          in: path
          required: true
          schema:
            type: string
            title: Drive Cycle Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DriveCycle'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DriveCycle:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
          description: Unique identifier
        name:
          type: string
          title: Name
          description: Drive cycle filename (e.g. WLTP_5Ah_10%%_1800s.txt)
        data:
          items:
            items:
              type: number
            type: array
          type: array
          title: Data
          description: Two-column array [[time, current], ...]
        content_hash:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Hash
          description: SHA-256 hash of name + canonical data for deduplication
        organization_id:
          type: string
          title: Organization Id
          description: Owning organization
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
          description: Creation timestamp
        measurement_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Measurement Id
          description: >-
            Source measurement ID when drive cycle was extracted from
            measurement data
      type: object
      required:
        - name
        - data
        - organization_id
      title: DriveCycle
      description: Pydantic model for the drive_cycles table.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````