---
title: "Agent Trace Analyze (x402)"
method: GET
path: "/x402/v2/agent-trace-analyze"
tags: ["x402"]
---

# Agent Trace Analyze (x402)

`GET /x402/v2/agent-trace-analyze`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/agent-trace-analyze`
- Auth: none required

Analyze AI agent execution traces (LangChain/CrewAI/AutoGen). Identifies failure points, root causes, token waste, and suggests fixes.

## Query parameters

- `trace` string, required: Agent log/trace output

## Response `200`

Success

- object
  - `root_cause` string
  - `step_count` integer
  - `failure_type` string
  - `failure_point` string
  - `suggested_fix` string

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

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