Rules

Freeze a release of a decision table

POST
/rules/tables/{record_type_id}/releases

Freeze the current rows of a decision table as a numbered release. Needs space administration rights, a valid table and at least one test, all passing. expected_content_hash is the content_hash from rules.test; an unchanged table returns the latest release with created false.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

record_type_id*string

Resource identifier: record_type_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/rules/tables/123e4567-e89b-42d3-a456-426614174000/releases" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "expected_content_hash": "examplexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  }'
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "record_type_id": "123e4567-e89b-42d3-a456-426614174000",  "number": 0,  "schema_version": 0,  "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b",  "note": "example",  "created_at": "2026-09-04T12:00:00Z",  "created_by": {},  "created": false}