---
title: "Retrieve issues statistics for the currently authenticated user"
method: GET
path: "/api/v4/issues_statistics"
tags: ["issues"]
---

# Retrieve issues statistics for the currently authenticated user

`GET /api/v4/issues_statistics`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/issues_statistics`
- Auth: none declared

Retrieves statistics for issues accessible by the currently authenticated user. By default, returns only issues created by the current user. To get all issues, set the `scope` attribute to `all`.

## Query parameters

- `labels` string[]
- `milestone` string
- `milestone_id` 'Any' | 'None' | 'Upcoming' | 'Started'
- `iids` integer[]
- `search` string
- `in` string
- `author_id` integer
- `author_username` string
- `assignee_id` integer
- `assignee_username` string[]
- `created_after` string, date-time
- `created_before` string, date-time
- `updated_after` string, date-time
- `updated_before` string, date-time
- `not[labels]` string[]
- `not[milestone]` string
- `not[milestone_id]` 'Any' | 'None' | 'Upcoming' | 'Started'
- `not[iids]` integer[]
- `not[author_id]` integer
- `not[author_username]` string
- `not[assignee_id]` integer
- `not[assignee_username]` string[]
- `not[weight]` integer
- `not[iteration_id]` integer
- `not[iteration_title]` string
- `scope` 'created_by_me' | 'assigned_to_me' | 'all'
- `my_reaction_emoji` string
- `confidential` boolean
- `weight` integer
- `epic_id` integer
- `health_status` 'on_track' | 'needs_attention' | 'at_risk' | 'none' | 'any'
- `iteration_id` integer
- `iteration_title` string

## Response `200`

Retrieve issues statistics for the currently authenticated user

---

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