---
title: "Audit up to 1000 agent events without an account"
method: POST
path: "/api/v1/trace-audit"
---

# Audit up to 1000 agent events without an account

`POST /api/v1/trace-audit`

## Request

- Base URL: `https://alpnai.com`
- URL: `https://alpnai.com/api/v1/trace-audit`
- Auth: none required

Deterministic costs, failed-task spending, repeated-call candidates, evidence IDs and actions. Maximum request body 256000 bytes. No account, payment, event storage or external model call. Outcomes describe whole tasks. Repeated-call costs can overlap failed-task costs; they are not savings.

## Request body

- object
  - `events` object[], required
    - `event_id` string, required
    - `task_id` string, required
    - `tool` string, required
    - `input_hash` string: An opaque fingerprint of tool arguments, computed by the caller. Do not send prompts or arguments.
    - `cost_usd` number, required: Observed cost of this event, USD, at most six decimal places.
    - `latency_ms` number
  - `outcomes` object[]
    - `task_id` string, required
    - `status` 'success' | 'failed' | 'unknown', required: Outcome of the entire logical task, supplied by the caller. One per task. Omitted tasks remain unknown.

## Response `200`

Trace Audit result with summary, coverage, repeated_call_candidates, actions, task_evidence and method

## Other responses

- `400`: Invalid trace input; no analysis or payment
- `413`: Request body exceeds 256000 bytes

---

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