Publish rule
Publish a rule so the current tested version becomes the active (published) version. You can optionally provide a description and title for the version.
Use the API reference below to try the endpoint.
Publish the current draft. Body is the same for all rule types.
Authorizations
Nected-API-KeystringRequired
Dev API key (Nected-API-Key header)
Path parameters
entity-idstringRequired
The rule's entity ID
Header parameters
Nected-BranchstringOptional
Branch name (optional)
Body
Request body for publish endpoint
checksumstringOptional
Current checksum of the entity
descriptionstringOptional
Description for this published version
titlestringOptional
Title for this published version
Responses
200
OK (illustrative; exact data fields depend on API version)
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
500
Internal Server Error
application/json
post/dev/v1/rule/{entity-id}/publish
POST /dev/v1/rule/{entity-id}/publish HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"checksum": "ccf2bdf3f024f10a4da35f3405477944",
"description": "Publish decision table v2",
"title": "Decision Table v2"
}{
"code": "success",
"message": "Success.",
"data": {
"version": "0.21",
"publishedAt": "2026-03-19T00:00:00Z"
}
}Last updated