Skip to content
Start in Cloud

Export AI fetch records

GET
/api/sites/{id}/ai-fetch/export
curl --request GET \
--url 'https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/ai-fetch/export?format=xlsx&resource_type=html' \
--cookie hk_token=<hk_token>

Exports AI fetch records for the selected site and date range in csv/xlsx/parquet/json/ndjson. Optional assistant and resource filters restrict the export to a subset of crawler traffic.

id
required
string format: uuid
from
string format: date-time
to
string format: date-time
format
string
Allowed values: xlsx csv parquet json ndjson

Export format. Supported values: xlsx, csv, parquet, json, ndjson. Defaults: xlsx for takeout endpoints, csv for hits export endpoints.

assistant_name
string

Optional AI assistant bot name filter.

assistant_family
string

Optional AI assistant family filter.

resource_type
string
Allowed values: html document image other

Optional AI fetch resource type filter.

path
string

Optional exact fetched path filter.

Export file stream