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

# Get Transaction Graph

Returns energy, current, and voltage graph data for a specific transaction. Data points are sampled to a maximum of 200 points.

<ParamField path="charger" type="string" required>
  The UUID of the charger.
</ParamField>

<ParamField path="transaction" type="integer" required>
  The ID of the transaction.
</ParamField>

## Response

<ResponseField name="energy" type="object[]">
  Energy consumption data points over time.

  <Expandable title="energy">
    <ResponseField name="date" type="string">
      ISO 8601 timestamp of the data point.
    </ResponseField>

    <ResponseField name="value" type="number">
      The cumulative energy consumed in kWh, normalized to start at 0 at the beginning of the transaction.
    </ResponseField>

    <ResponseField name="unit" type="string">
      The unit of measurement. Always `kWh`.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="current" type="object[]">
  Current data points over time per phase.

  <Expandable title="current">
    <ResponseField name="date" type="string">
      ISO 8601 timestamp of the data point.
    </ResponseField>

    <ResponseField name="L1" type="number">
      Current on phase L1 in Amperes.
    </ResponseField>

    <ResponseField name="L2" type="number">
      Current on phase L2 in Amperes.
    </ResponseField>

    <ResponseField name="L3" type="number">
      Current on phase L3 in Amperes.
    </ResponseField>

    <ResponseField name="offered" type="number">
      The offered current in Amperes.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="voltage" type="object[]">
  Voltage data points over time per phase.

  <Expandable title="voltage">
    <ResponseField name="date" type="string">
      ISO 8601 timestamp of the data point.
    </ResponseField>

    <ResponseField name="L1" type="number">
      Voltage on phase L1 in Volts.
    </ResponseField>

    <ResponseField name="L2" type="number">
      Voltage on phase L2 in Volts.
    </ResponseField>

    <ResponseField name="L3" type="number">
      Voltage on phase L3 in Volts.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="soc" type="object[]">
  State of charge data points over time. Empty when the charger does not report state of charge.

  <Expandable title="soc">
    <ResponseField name="date" type="string">
      ISO 8601 timestamp of the data point.
    </ResponseField>

    <ResponseField name="value" type="number">
      The battery state of charge.
    </ResponseField>

    <ResponseField name="unit" type="string">
      The unit of measurement. Always `Percent`.
    </ResponseField>
  </Expandable>
</ResponseField>
