---
title: "Detect Agent Trajectory"
method: POST
path: "/detect-agent-trajectory"
---

# Detect Agent Trajectory

`POST /detect-agent-trajectory`

## Request

- Base URL: `https://aihcc.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://aihcc.cloud/detect-agent-trajectory`
- Auth: none declared

Agent 轨迹全链路检测：P1 分层管线（规则→裁判→搜索/重放）+ 幻觉传播追踪。

P1 重构：原逐步 3× _detector.detect(thought/observation/final_answer)
替换为单次 agent_pipeline.evaluate_trajectory 调用，单步 LLM 从 3 降至 ≤1。

## Request body

- TrajectoryRequest
  - `trajectory` unknown[], required
    - unknown
  - `domain` string, nullable
  - `tool_schemas` object, nullable
  - `speed` string
  - `task` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aihcc/apis/hallucc-api.md) · [All operations](https://skmtc.dev/aihcc/apis/hallucc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aihcc/apis/hallucc-api/revisions/5818dff6d4c6?raw)
