---
title: "Read experience and its test evidence"
method: GET
path: "/api/v1/rules/{id}"
---

# Read experience and its test evidence

`GET /api/v1/rules/{id}`

## Request

- Base URL: `https://human4ai.ai`
- URL: `https://human4ai.ai/api/v1/rules/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-h4a`

## Path parameters

- `id` string, required

## Response `200`

Successful operation; single resource or {items,nextCursor} for lists.

- object
  - `correctionId` string, required
  - `title` string, required
  - `condition` string, required
  - `action` string, required
  - `boundary` string, required
  - `id` string, required
  - `status` 'draft' | 'active' | 'archived', required
  - `revision` integer, required
  - `createdAt` integer, required: Unix timestamp in milliseconds
  - `updatedAt` integer, required: Unix timestamp in milliseconds
  - `tests` Validation[], required
    - `revision` integer, required
    - `kind` 'positive' | 'boundary', required
    - `input` string, required
    - `expected` string, required
    - `actual` string, required
    - `verdict` 'pass' | 'fail', required
    - `note` string, required
    - `id` string, required
    - `ruleId` string, required
    - `actor` 'human' | 'agent', required
    - `createdAt` integer, required: Unix timestamp in milliseconds

## Other responses

- `400`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `401`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `403`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `404`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `409`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `413`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `415`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `429`: Structured error; see error.code. Cross-workspace IDs also return 404.
- `503`: Structured error; see error.code. Cross-workspace IDs also return 404.

---

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