Skip to main content
{
    "id": "pol_BAmcmCVnWzqSlC5BFWKtpgHsOAo22N9N",
    "object": "policy",
    "created": "2026-04-01T00:39:10.282Z",
    "description": null,
    "metadata": {},
    "mode": "enforcement",
    "name": "Example Policy",
    "rules": {
        "allowed_operators": ["example_operator"],
        "denied_operators": [],
        "geofences": [
            {
                "center": {
                    "latitude": 48.8698,
                    "longitude": 2.3319
                },
                "name": "Example Zone",
                "radius_meters": 1500
            }
        ],
        "max_price_per_kwh": 25,
        "time_windows": [
            {
                "days_of_week": ["monday", "tuesday", "wednesday", "thursday", "friday"],
                "end_time": "18:00",
                "start_time": "09:00"
            }
        ]
    },
    "status": "active"
}
{
    "id": "pol_BAmcmCVnWzqSlC5BFWKtpgHsOAo22N9N",
    "object": "policy",
    "created": "2026-04-01T00:39:10.282Z",
    "description": null,
    "metadata": {},
    "mode": "enforcement",
    "name": "Example Policy",
    "rules": {
        "allowed_operators": ["example_operator"],
        "denied_operators": [],
        "geofences": [
            {
                "center": {
                    "latitude": 48.8698,
                    "longitude": 2.3319
                },
                "name": "Example Zone",
                "radius_meters": 1500
            }
        ],
        "max_price_per_kwh": 25,
        "time_windows": [
            {
                "days_of_week": ["monday", "tuesday", "wednesday", "thursday", "friday"],
                "end_time": "18:00",
                "start_time": "09:00"
            }
        ]
    },
    "status": "active"
}
This object represents a policy in Charge. Use it to define rules that restrict charging behavior or generate charging suggestions.

Attributes

id
string
required
Unique identifier for the object.
mode
string
required
The operational mode of the policy.Available options: enforcement, suggestion
name
string
required
A human-readable name for the policy.
rules
object
required
Rules that define how the policy behaves.
status
string
required
Current status of the policy.Available options: active, inactive

More attributes

object
string
required
String representing the object’s type.
created
string
required
Time at which the policy was created. RFC 3339 UTC timestamp with millisecond precision, e.g. 2026-03-03T14:05:23.789Z.
description
string | null
An optional description of the policy’s purpose.
metadata
object
Set of key-value pairs that you can attach to an object.