---
title: "Dry Run Resources"
method: POST
path: "/internal/config/dry_run"
tags: ["internal", "internal-config"]
---

# Dry Run Resources

`POST /internal/config/dry_run`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/config/dry_run`
- Auth: none declared

Parse and classify resources without writing anything to the database.
Intended for LLM round-trip validation before applying via the UI.

## Request body

- DryRunRequest: Dry-run-only request: just the raw YAML documents string.
  - `documents` string, required

## Response `200`

Successful Response

- ApplyResponse
  - `dry_run` boolean, required
  - `results` ResourceApplyResult[], required
    - `kind` string, required
    - `name` string, required
    - `namespace` string, uuid, required
    - `action` 'created' | 'updated' | 'unchanged' | 'invalid' | 'error', required
    - `uid` string, uuid, nullable
    - `messages` string[]
    - `changed_fields` FieldDiff[]
      - `field_name` string, required
      - `before` unknown
      - `after` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
