Skip to main content
GET
Get the most recent publish
Returns details of the latest publish. It exists for older clients. Rule writes now publish on their own, so most integrations never need it. Related guide: Rules: control what agents can do. Compatibility for older clients.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Response

200 - application/json
object | null

The last publish, or null

The most recent publish; null when the scope was never published.

generation
integer
ruleCount
integer
appliedAt
string<date-time>
appliedBy
object | null

Null for system publishes.