# Query runtime data sharding

Query the data fragments saved when the agent is running.

```text
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-runtime/data-parts
```

## Before you call this API

Configure the [regional API endpoint and authentication](https://omnifabric.cloudsigma.com/docs/developer/endpoints-and-authentication.html.md), and select the target workspace.

## Request example

```bash
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-runtime/data-parts" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
```

## Successful response

Returns `200` and data fragment list on success.

```json
{"code":0,"data":{"items":[]}}
```

The response fields are as follows.

| Field | Type | Description |
| --- | --- | --- |
| `data.items` | array | Data fragmentation. |

## Error response

```json
{"code":15,"message":"runtime read model is not available"}
```
