Skip to main content
POST
Publish Tool

Authorizations

Authorization
string
header
required

Your SLNG consumer API key.

Path Parameters

tool_id
string<uuid>
required

The tool UUID. Curated tools are visible but read-only, and a tool owned by another organisation returns 404.

Response

The publish result. A new immutable version is created and the per-gate checks are reported; if a gate fails, the same body is returned with a 409 and published set to false.

Outcome of a publish attempt, with the new version number and per-gate checks.

published
boolean
required
checks
GateStatus · object
required

Gate set is selected by tool_type (V2): data → static + green_run; code also reports config_valid; ctx-bound → config_valid ONLY.

version_number
integer | null