get_charges
Retrieve charging session history for a charge point, with optional filters by date range and state.
Instructions
Get charging history/sessions for a charge point.
Args:
charge_point_id: The ID of the charge point
from_date: Filter charges from this date (ISO format, optional)
to_date: Filter charges to this date (ISO format, optional)
state: Filter by charge state (e.g., 'completed', 'active', optional)
page: Page number for pagination (1-indexed, default: 1)
per_page: Number of items per page (default: 10, min: 1, max: 100)
Returns:
List of charge session dictionaries
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| state | No | ||
| to_date | No | ||
| per_page | No | ||
| from_date | No | ||
| charge_point_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |