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.
Request
- Base URLhttps://api.intelligems.io
- AuthAPI key in header intelligems-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Accepted
Changes
No recorded changes to this operation across all 1 revision of this API.