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

# SummerPlayerDataCommitOperation

> Writes one slot of a player's data.

**Class:** `SummerPlayerDataCommitOperation` · **Inherits:** [`SummerOperation`](/api-reference/gdscript/types/operation)

Writes one slot of a player's data.

A failure code is one of `player_data_invalid`, `player_data_too_large`, `player_data_unsupported_type`, `player_data_session_invalid`, `player_data_superseded`, `player_data_save_id_conflict`, `runtime_fenced`, `rate_limited`, `player_data_unavailable` or `operation_in_progress`. When [`SummerResult.retryable`](/api-reference/gdscript/types/result#retryable) is set, commit again with the same save ID.

## Properties

| Property | Type | Access | Description |
| - | - | - | - |
| <a id="bytes" />`bytes` | int | read-only, `get_bytes()` | Canonical size of the committed data after success; `0` otherwise. |
| <a id="replayed" />`replayed` | bool | read-only, `was_replayed()` | `true` when the platform returned an earlier identical commit for the same save ID. |
| <a id="revision" />`revision` | String | read-only, `get_revision()` | The committed revision after success; empty otherwise. |
| <a id="save_id" />`save_id` | String | read-only, `get_save_id()` | The requested save ID. |
| <a id="sha256" />`sha256` | String | read-only, `get_sha256()` | SHA-256 of the committed canonical encoding after success; empty otherwise. |
| <a id="slot" />`slot` | String | read-only, `get_slot()` | `"public"` or `"secret"`. |

***

What is live on the platform today: [platform capability status](/knowledge-base/source-status). Check availability at runtime before you offer a feature.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.