# Get Partition-Based Sync information

**GET /groups/{groupId}/apps/{appId}/sync/data**

Retrieve partition field data when using 
[Partition-Based Sync](https://www.mongodb.com/docs/atlas/app-services/reference/partition-based-sync).


## Servers
- The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.)


## Authentication methods
- Token auth


## Parameters

### Path parameters

- **groupId** (string)
  An Atlas [Project/Group
  ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/).

- **appId** (string)
  The ObjectID of your application.
  [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this
  value.


### Query parameters

- **service_id** (string)
  The Service ID for the linked cluster.



## Responses
### 200
Successfully retrieved.

#### Body: application/json (object)
- **service_id** (string)
  The Service ID for the currently synced cluster, if there is one.

- **partition_fields** (array[object])
  A list of valid partition keys based on the cluster's collection
  schemas.



[Powered by Bump.sh](https://bump.sh)
