For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get rule by id

Retrieve a single rule by its entity ID. Optionally pass a version query parameter (e.g. a published version).

Note: If the version is blank, then you'll retrieve the Draft version of the rule.

The API returns the standard wrapper: code, message, and data.

  • data is the full rule object.

To inspect a specific published version, call this endpoint with the appropriate version query value; the data shape still follows the same rule-type rules above.

Use the API reference below to try the endpoint.

Get rule by id

get

Retrieve a single rule by its entity ID. Optionally request a specific version (e.g. published). data matches the create payload for that type plus id and checksum.

Authorizations
Nected-API-KeystringRequired

Dev API key (Nected-API-Key header)

Path parameters
entity-idstringRequired

The rule's entity ID

Query parameters
versionstringOptional

Specific version to fetch (e.g. published version)

Header parameters
Nected-BranchstringOptional

Branch name (optional)

Responses
200

OK

application/json

Standard API response wrapper

codestringOptional
dataanyOptional

Response payload: rule object, array of rules (list), version rows, or execution result — shape varies by endpoint

messagestringOptional
pageNointegerOptional
pageSizeintegerOptional
totalCountintegerOptional
totalPagesintegerOptional
get
/dev/v1/rule/{entity-id}

Example response – type = simpleRule

10KB
Open

Example response – type = decisionTable

32KB
Open

Example response – type = ruleSet

Last updated