---
title: "Provide summary of various metrics of users interactions with the application."
method: GET
path: "/api/v1/projects/{projectId}/reports/traffic"
tags: ["Reports & Analytics"]
---

# Provide summary of various metrics of users interactions with the application.

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

Provide summary of various metrics of users interactions with the application such as the users number (both named and anonymous),
their geographical locations, the browsers they use, and the sources from which they arrived at the application.

## Path parameters

- `projectId` integer, required

## Query parameters

- `filters` string[], required

## Response `200`

Get the traffic metrics for an agent

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` ProjectAnalyticsTraffic
    - `sources` object[]
      - `request_source` 'web' | 'ama' | 'iframe' | 'api' | 'api-openai' | 'sdk' | 'slack' | 'embed' | 'livechat' | 'sge' | 'ai-assistant' | 'instant-viewer' | 'mcp'
      - `request_source_number` 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/versions/b80e6dfcf78d/schema)
