---
title: "Validate Artifact"
method: POST
path: "/artifacts/validate"
---

# Validate Artifact

`POST /artifacts/validate`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/artifacts/validate`
- Auth: none declared

The deterministic gate on a generated automation artifact: the meta-path
guard (never a fitness/signing/schema/spec file — a loop can't rewrite how it's
graded) + a syntax check. Returns {valid, reasons}. The artifact is DATA here;
the collector never executes it.

## Request body

- ArtifactValidateRequest: Phase 3 rung 4 gate — the meta-path guard + syntax check on a generated automation artifact (a loop can never target its own grader).
  - `kind` string, required
  - `target_path` string
  - `content` string
  - `language` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
