v1

latestOpenAPI 3.1.02026-07-263644911022.4 KB
Catalog API

Validate Catalog Template Parameters

Use this endpoint to validate template parameters against the template's JSON Schema.

post/v1/catalog/templates/{id}/validate

Path parameters

idstring required

Unique identifier of the catalog template.

Request body

paramsobject

Template parameter values to validate.

Example request

{
  "params": {
    "midaz_config_id": "d4e5f6a7-b8c9-4012-d345-678901234567",
    "risk_threshold": 0.8
  }
}

Response

Indicates that the request was successful and the response contains the requested data.

errorstring

Validation error message. Empty when valid.

validboolean

Whether the configuration passed validation.

Example response

{
  "valid": true
}