Skip to main content
STRUCT DOCUMENTATION

JSON Schema / Optional state / OPA policies

Blatent Documentation

Give Struct a task and a JSON Schema. Get a structured answer your application can use.

A decision with rulesjson
INPUT

“The upload failed when the connection dropped.”

YOUR SCHEMA RULE

Retry network errors. Never retry permission errors.

OUTPUT
{
"status": "error",
"code": "network",
"retry": true
}
Illustrative output · Explore conditional outputs
BUILD YOUR INTEGRATION

Find the capability you need.

Each guide stands on its own. Start with a request or go straight to a feature.

PICK UP WHERE YOU NEED TO

Already know what you’re building?