---
title: "Action Self Test"
method: POST
path: "/v1/actions/self-test"
tags: ["agent-cost"]
---

# Action Self Test

`POST /v1/actions/self-test`

Run one fixed, unbilled request through the production reducer.

The fixture is server-owned, contains no customer data, and never writes a
usage or reduction row. It proves that the workspace entitlement and
configured reducer can produce a smaller evidence-preserving response.

## Response `200`

Successful Response

- SelfTestResponse
  - `ok` boolean, required
  - `reducer_model` string, required
  - `decision` 'passthrough' | 'reduced', required
  - `input_bytes` integer, required
  - `output_bytes` integer, required
  - `selector_count` integer, required
  - `elapsed_ms` integer, required

---

[API](https://skmtc.net/codag/apis/infra-logs-templater.md) · [All operations](https://skmtc.net/codag/apis/infra-logs-templater/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codag/infra-logs-templater/revisions/44d8ea826f48/schema)
