List published versions by id
List all published versions of a rule for the given entity ID. Results are paginated.
Use the API reference below to try the endpoint.
List all published versions of a rule for the given entity ID.
Authorizations
Nected-API-KeystringRequired
Dev API key (Nected-API-Key header)
Path parameters
entity-idstringRequired
The rule's entity ID
Query parameters
pageNointegerOptionalDefault:
Page number
1pageSizeintegerOptionalDefault:
Items per page
10Header 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
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get/dev/v1/rule/{entity-id}/version
GET /dev/v1/rule/{entity-id}/version HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Accept: */*
{
"code": "success",
"message": "Success.",
"pageNo": 1,
"pageSize": 2,
"totalCount": 2,
"totalPages": 1,
"data": [
{
"entityId": "00000000-0000-4000-8000-000000000001",
"version": "published",
"checksum": "c64bbd3e818797b7537c1b4bbf47ef7e",
"type": "decisionTable",
"name": "Fee Decision Table",
"description": "",
"createdAt": "2026-01-29T00:00:00Z"
},
{
"entityId": "00000000-0000-4000-8000-000000000001",
"version": "v2",
"checksum": "07e13779e9cf3437c131d851c030ff7d",
"type": "decisionTable",
"name": "Fee Decision Table",
"description": "Updated thresholds",
"createdAt": "2026-02-01T00:00:00Z"
}
]
}Last updated