---
title: "Get Bot Visits"
method: GET
path: "/api/domains/{domain_id}/content/items/{item_id}/bot-visits"
tags: ["content_attribution"]
---

# Get Bot Visits

`GET /api/domains/{domain_id}/content/items/{item_id}/bot-visits`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/content/items/{item_id}/bot-visits`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Bucketed daily bot-visit counts for one content_item.

Separate endpoint from the item detail so the frontend can fetch
a longer history (up to 365 days) on demand without paying the
cost on every doc-detail open.

## Path parameters

- `item_id` string, required
- `domain_id` string, required

## Query parameters

- `days` integer

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- VisitPointOut[]
  - `date` string, required
  - `visits` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
