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

# Event Partitioning quickstart (Preview)

> Add, edit, and remove Managed Events in Game Manager to enable PlayFab Event Partitioning for Data Connections into Azure Blob Storage and Azure Data Explorer.

<Note>
  The Event Partitioning feature is in private preview, this means it's only available to be used by specific titles we enable it for. We anticipate ongoing changes to it, without notice, as we continue gathering feedback and optimizing for customer use.
</Note>

Event Partitioning can be managed through Game Manager and through APIs.

## Adding, editing, and deleting Managed Events in Game Manager

Learn how to configure partitioning by adding, editing, and deleting Manage Events through Game Manager.

### Add a Managed Event

* Go to **PlayFab** and sign in to [Game Manager](https://developer.playfab.com/).
* Navigate to your **Title**.
* Select **Data** from the menu on the left.
* Select **Manage Events (Preview)** tab.
* Select **Add Managed Event**.
* In the **Event Type** dropdown, choose the event you’d like to manage. If the custom event doesn't appear in the drop down you can type in your custom event name and select the option to create the event name.
* Leave the sampling percentage at the default value. If you also want to sample events, see [Event Sampling overview](/services/playfab/data-analytics/export-data/event-sampling-overview) for details on setting this value.
* Check the box for **Partition in Data Connections** to enable partitioning for this event.
* Select **Save**.

### Edit a Managed Event

* Select **Managed Events** tab.
* Select **Event namespace** to open the event.
* You can edit the **Sample Rate** % and the **Partition in Data Connections** checkbox.
* Select **Save**.

### Delete a Managed Event

* Select **Managed Events** tab.
* Select the checkbox at the left of **Event namespace** to select the Managed Event you want to delete.
* Select  **Delete** at the top of the table.
* Select **Delete** to confirm.

### Managing Event Partitioning through APIs

Event Partitioning can also be managed with the following ManageEvents APIs.

#### SetManagedEvents

This API can be used to set a list of managed events for the title. If the event name and namespace combination is present already, it will update the existing settings with the new one.

Request example:

```HTTP theme={null}

POST : https://<titleid>.playfabapi.com/Event/SetManagedEvents 

{ 
    "ManagedEvents":[{ 
                "Namespace": "demo_namespace, 
                "Name": "demo_name", 
                "SamplingRatio": 100, 
                "isPartitioned": true 
            }] 
}

```

#### DeleteManagedEvents

**DeleteManagedEvents** API is used to delete an event name and event namespace combo from the list of managed events for the title. Use the API with the name and namespace in the body of the request.

Request example:

```HTTP theme={null}

POST https://<titleid>.playfabapi.com/Event/DeleteManagedEvent

{ 
      "Namespace": "demo_namespace", 
      "Name": "demo_name" 
} 

```

#### GetManagedEvent

**GetManagedEvent** is used to get the settings for a managed event.

Request example:

```HTTP theme={null}

POST https://<titleid>.playfabapi.com/Event/GetManagedEvent

{ 
      "Namespace": "demo_namespace", 
      "Name": "demo_name" 
}

```

#### GetManagedEvents

**GetManagedEvents** is used to get the list of all managed Events.

Request example:

```HTTP theme={null}

POST https://<titleid>.playfabapi.com/Event/GetManagedEvents

```

## Next steps

* [Event Partitioning overview](/services/playfab/data-analytics/export-data/event-partitioning-overview)


## Related topics

- [Event Partitioning overview (Preview)](/services/playfab/data-analytics/export-data/event-partitioning-overview.md)
- [PlayFab data and analytics documentation](/services/playfab/data-analytics/index.md)
- [Schemas quickstart](/services/playfab/data-analytics/acting-data/schemas-quickstart.md)
- [Data Explorer quickstart](/services/playfab/data-analytics/learn-data/data-explorer/quickstart.md)
- [Data Connections quickstart](/services/playfab/data-analytics/export-data/data-connection-quickstart.md)
