Skip to main content
POST
/
v1
/
catalog
/
templates
/
{id}
/
validate
Validate Catalog Template Parameters
curl --request POST \
  --url https://flowker.sandbox.lerian.net/v1/catalog/templates/{id}/validate \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "params": {
    "midaz_config_id": "d4e5f6a7-b8c9-4012-d345-678901234567",
    "risk_threshold": 0.8
  }
}
'
{
  "error": "",
  "valid": true
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests to the Flowker API. Provisioned via the API_KEY environment variable during deployment.

Path Parameters

id
string
required

Unique identifier of the catalog template.

Body

application/json

Request body containing the parameters to validate.

params
object

Template parameter values to validate.

Example:
{
"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.

error
string

Validation error message. Empty when valid.

Example:

""

valid
boolean

Whether the configuration passed validation.

Example:

true