---
title: "Validate Scan Config"
method: POST
path: "/api/scan/configs/validate"
---

# Validate Scan Config

`POST /api/scan/configs/validate`

## Request body

- ScanConfigValidateRequest
  - `apiKey` string, required
  - `apiVersion` string
  - `awsProfile` string
  - `awsRegion` string
  - `awsSessionToken` string
  - `baseUrl` string, required
  - `consensusRuns` integer
  - `existingConfigId` integer, nullable
  - `maxTokens` integer
  - `model` string, required
  - `name` string, required
  - `provider` string

## Response `200`

Successful Response

- ScanConfigValidationResponse
  - `durationMs` integer, nullable
  - `errorCode` string, nullable
  - `message` string, required
  - `model` string, nullable
  - `ok` boolean, required
  - `provider` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `73bfa4034c07` — 1 info
  - endpoint added
- **2026-04-17** `a9787ab8c53c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mode-io/apis/skill-manager/changes/api/scan/configs/validate/post.md)

---

[API](https://skmtc.dev/mode-io/apis/skill-manager.md) · [All operations](https://skmtc.dev/mode-io/apis/skill-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mode-io/skill-manager/revisions/774e8a3f5f7e/schema)
