---
title: "Log Llm Page Visit"
method: POST
path: "/internal/llm-page-visit"
tags: ["internal"]
---

# Log Llm Page Visit

`POST /internal/llm-page-visit`

## 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/internal/llm-page-visit`
- Auth: none declared

Internal: Increment llm_visits counter for a content document or legacy generated page.

AGENTDESK-P2(PR-F): also carries the D16 edge signals into
``bot_visit.bot_score`` / ``.asn_description``. They arrive as the same two
trusted headers the answer-page and ask hops use, and ``extract_bot_signals``
applies the SAME trust gate — a caller that reaches this route without the
internal token is rejected by ``verify_internal_key``. As defense in depth,
an unverified request gets its claimed score and ASN dropped, exactly as its
claimed IP already is. Without that, anyone able to POST here could write
arbitrary bot scores into a customer's attribution data.

## Headers

- `x-internal-key` string, nullable
- `x-internal-token` string, nullable

## Request body

- LLMVisitPayload
  - `domain_id` string, required
  - `slug` string, required
  - `user_agent` string, required

## Response `200`

Successful Response

- unknown

## 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)
