---
title: "Provide summary of overall query metrics accross all conversations."
method: GET
path: "/api/v1/projects/{projectId}/reports/queries"
tags: ["Reports & Analytics"]
---

# Provide summary of overall query metrics accross all conversations.

`GET /api/v1/projects/{projectId}/reports/queries`

## Path parameters

- `projectId` integer, required

## Query parameters

- `filters` string[], required

## Response `200`

Get the query metrics for an agent

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` ProjectAnalyticsQuery
    - `total` integer — Total number of queries over all conversations
    - `query_status` object[] — Number of successful and failed queries over all conversations
      - `status` 'failed' | 'success'
      - `count` integer

## Other responses

- `400` — Bad Argument
- `401` — API Token is either missing or invalid
- `404` — Agent not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/poll-the-people/apis/customgpt-ai.md) · [All operations](https://skmtc.net/poll-the-people/apis/customgpt-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poll-the-people/customgpt-ai/revisions/b80e6dfcf78d/schema)
