---
title: "Get AI fetch timeseries"
method: GET
path: "/api/sites/{id}/ai-fetch/timeseries"
tags: ["Sites"]
---

# Get AI fetch timeseries

`GET /api/sites/{id}/ai-fetch/timeseries`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites/{id}/ai-fetch/timeseries`
- Auth: one of:
  - API key in cookie `hk_token`
  - HTTP bearer
  - API key in header `X-API-Key`

Returns AI fetch request counts over time for the selected site and filter set.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `assistant_name` string
- `assistant_family` string
- `resource_type` 'html' | 'document' | 'image' | 'other'
- `path` string

## Response `200`

AI fetch timeseries

- AIFetchSeriesPoint[]
  - `count` integer
  - `time` string, date-time

---

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