---
title: "Your counts and caps"
method: GET
path: "/my-data"
tags: ["My data"]
---

# Your counts and caps

`GET /my-data`

## Request

- Base URL: `https://gorest.co.in/public/v3`
- URL: `https://gorest.co.in/public/v3/my-data`
- Auth: HTTP bearer

How many rows of each resource your account holds and the most it may hold, and whether your lists show your copy of the sample data.

## Response `200`

Your counts.

- MyData
  - `resources` object, required
    - `access_tokens` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `cart_items` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `carts` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `comments` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `order_items` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `orders` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `posts` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `products` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `tasks` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
    - `users` MyDataCount, required
      - `cap` integer, required: The most it may hold; over it a create answers 422 `cap_reached`.
      - `count` integer, required: Rows your account holds.
  - `sample_data_at` string, date-time, nullable, required: When you last reset with sample data; null when your lists show the shared sample data.

## Other responses

- `401`: No token, or the token is wrong, expired or revoked.
- `403`: The token lacks the scope this operation needs.
- `429`: Over the rate limit; wait `Retry-After` seconds.
- `500`: Something failed on the server.

---

[API](https://skmtc.dev/gorest/apis/gorest-api-v3.md) - [All operations](https://skmtc.dev/gorest/apis/gorest-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/gorest/apis/gorest-api-v3/revisions/89aa429755a6?raw)
