---
title: "Read-only functional validation of a proposed config: parse + dependency  resolution/reachability, no authorization and no persistence. \"ok\" means  functionally valid, not \"guaranteed to merge\" — the merge gate re-checks  authorization at approve time."
method: POST
path: "/textql.rpc.public.patches.OntologyManagementService/ValidateConfig"
tags: ["OntologyManagementService"]
---

# Read-only functional validation of a proposed config: parse + dependency  resolution/reachability, no authorization and no persistence. "ok" means  functionally valid, not "guaranteed to merge" — the merge gate re-checks  authorization at approve time.

`POST /textql.rpc.public.patches.OntologyManagementService/ValidateConfig`

Read-only functional validation of a proposed config: parse + dependency
 resolution/reachability, no authorization and no persistence. "ok" means
 functionally valid, not "guaranteed to merge" — the merge gate re-checks
 authorization at approve time.

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicPatchesValidateConfigRequest — ValidateConfigRequest validates a filed patch's ref. The proposed sandbox working-tree source is served by the Ana chat-cell tool, not this RPC.
  - `patchId` string

## Response `200`

Success

- TextqlRpcPublicPatchesValidateConfigResponse — ValidateConfigResponse: ok == true with no diagnostics means functionally valid against current org state — not a merge guarantee.
  - `ok` boolean
  - `diagnostics` TextqlRpcPublicPatchesConfigDiagnostic[]
    - `path` string — path is the config file the finding is attributed to.
    - `message` string
    - `class` 'CONFIG_DIAGNOSTIC_CLASS_UNSPECIFIED' | 'CONFIG_DIAGNOSTIC_CLASS_EDIT_FIXABLE' | 'CONFIG_DIAGNOSTIC_CLASS_ORG_STATE_FIXABLE' — ConfigDiagnosticClass partitions a finding by who can fix it, so an authoring loop knows whether to keep iterating.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/versions/31ce2b0c4427/schema)
