Get target-soc
get_target_socQueries a Polestar vehicle's target state of charge, returning the SOC percentage, preset or custom setting, and last update.
Instructions
Target battery state of charge (%), setting type (CUSTOM/PRESET), last update. (M2M endpoint: /v1/vehicles/{vin}/charging/target-soc, scope pdp-charging/targetSoc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the full raw API payload instead of (or after) the humanized summary. Unchanged upstream content: it carries the VIN even when POLESTAR_REDACT_VIN is on. | |
| vin | No | Vehicle Identification Number. Optional when the credential has exactly one vehicle, omit it and the only vehicle is used. | |
| delegated_account_id | No | Third-party credentials only: read the shared vehicles of this account for this call. Must be listed in POLESTAR_DELEGATED_ACCOUNT_IDS. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False when the call produced no data. | |
| vin | No | Vehicle the result is about, masked when POLESTAR_REDACT_VIN is on. | |
| code | No | Machine-readable error code when ok is false. | |
| data | No | Structured payload; shape documented per tool. | |
| hint | No | Actionable guidance when ok is false. | |
| tool | No | Tool that produced this result. | |
| message | Yes | Result text, identical to the content block. | |
| requestId | No | Upstream request id, the handle support needs. | |
| ageSeconds | No | Staleness of the underlying telemetry. | |
| httpStatus | No | Upstream HTTP status when ok is false. |