Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
revisions
object[]
required

The revisions to publish, at most one per entity.

Required array length: 1 - 50 elements
dryRun
boolean

Report every gate and outcome without writing anything.

ignoreWarnings
boolean

Set to true to acknowledge warnings from experiment guards, schema changes, or archives. It can also force-publish an out-of-date draft when the caller has Bypass draft approvals access for that resource.

skipSchemaValidation
boolean

Set to true to publish despite schema or invariant failures. Validation still runs and the response still reports each failure. The caller must have Bypass draft approvals access for Feature Flags, Configs, and Constants in every Project.

skipHooks
boolean

Set to true to publish despite Custom Hook rejections. The caller must have Bypass draft approvals access for Feature Flags, Configs, and Constants in every Project.

comment
string

An optional publish comment recorded on every revision in this release — it appears in each entity's revision history and is passed to any custom validation hooks that run for the publish.

Response

200 - application/json

Resource created

dryRun
boolean
required
results
object[]
required
gates
object[]
required

Dry runs report every gate, cleared and blocking. Real publishes return an empty list — blocking gates fail with a 422 instead.

bypassedGates
object[]
required

Gates bypassed by the caller's flags or authority — what this publish overrode.

warnings
string[]
required
bulkPublishId
string

Correlation token (pub_…) stamped on every event this publish emitted. Absent on dry runs.