Structuring

Add a rule to an approval gate

post/v1/structuring/gates/{id}/rules

Request

  • Base URL: https://api.talonic.com
  • URL: https://api.talonic.com/v1/structuring/gates/{id}/rules
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Request body

typestring required

Rule type (e.g. min_confidence, validation_pass_rate, field_coverage).

thresholdnumber float required

Numeric threshold value.

Response

Rule added.

idstring uuid required
namestring required
descriptionstring nullable
schema_idstring uuid nullable
created_atstring date-time required
updated_atstring date-time

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "schema_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "rules": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  ],
  "created_at": "2026-04-25T14:30:00.000Z",
  "updated_at": "2026-04-25T14:30:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.