Agentic Logic

Run the gates without publishing

Success status: 202 Accepted.

POST /v25-10-beta/agentic-logic/rules/{ruleId}/run-gates

Starts an asynchronous dry run: the full publish gate set against the rule's saved draft (code rules) or template configuration (builder rules), without deploying. It never creates a version and never changes the rule's state, so a paused rule can be checked too.

  • idempotencyKey (string, optional) — Client-supplied key. Replays as on publish, including the autoAssist the job was started with. Keys are shared with publish: a key a publish already used returns that publish job.
  • autoAssist (boolean, optional) — Whether a failed dry run of a code rule starts AI repair. Defaults to true, as on publish. Send false to leave a failed job failed: no repair run opens, so the platform never rewrites the rule's source or republishes it. It does not stop a repair run that is already running. It is frozen into this job only.

The endpoint answers 202 Accepted with { "publishJobId": "..." }. Poll it with Poll a publish job; its mode is dry_run, and a passing dry run ends succeeded with no resultingVersionId.

Use the intelligems-access-token header. The token selects the organization; do not send orgId. The organization must have Agentic Logic enabled.

Rate Limit: 50 requests per 30s window, refilling 25 tokens every 30s.

post/v25-10-beta/agentic-logic/rules/{ruleId}/run-gates

Request

Path parameters

ruleIdstring uuid required

Request body

idempotencyKeystring

Client-supplied idempotency key. A repeated request for the same rule and key returns the existing job handle instead of starting another job; keys are shared with publish.

autoAssistboolean

Whether a failed dry run starts AI repair. Defaults to true. False leaves a failed job failed: this job opens no repair loop, so it never leads the platform to rewrite or republish the rule's source. A repair loop already running for the rule is not stopped. A replay of an existing idempotencyKey returns that job as it was started, whatever this says.

Response

Accepted

publishJobIdstring required

Changes

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