---
title: "List all Service Ping SQL queries"
method: GET
path: "/api/v4/usage_data/queries"
tags: ["usage_data"]
---

# List all Service Ping SQL queries

`GET /api/v4/usage_data/queries`

## Request

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

Lists all raw SQL queries used to compute Service Ping. This action is behind the `usage_data_queries_api` feature flag. Administrators only.

## Response `200`

List all Service Ping SQL queries

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[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)
