Own-site execution

Publish the reviewed AI-readable layer

Publishes the current draft through the tenant-scoped RPC and requests discovery refresh. It does not enable autonomy or send to third parties.

post/api/v2/layer/publish

Request

  • Base URL: https://www.hireeli.io
  • URL: https://www.hireeli.io/api/v2/layer/publish
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

x-eli-tenantstring uuid

Workspace UUID. Required for user tokens with multiple memberships. For API keys it is only an equality assertion against the key-pinned workspace.

Request body

confirmtrue

Must be the JSON boolean true. Strings, numbers and free-text phrases are rejected.

confirmed_preview_hashstring

SHA-256 confirmation binding for the exact tool, workspace, resource and preview returned by the immediately preceding preview response.

Response

The decision completed. The response is a machine-readable receipt.

decisionstring required

The exact accepted operation.

resourceIdstring required

The decided resource ID.

statusstring required

The state Eli verified after the decision.

urlstring uri nullable required
revertibleboolean required

Whether Eli exposes a guarded machine revert for this completed action.

revert_hintstring nullable required

The exact safe next step for a revert or immutable follow-up.

audit_idstring uuid nullable required

Durable protocol-decision audit row for this machine write.

change_idstring uuid nullable

Exact owned-site change reconciled by a content rollback, when applicable.

publication_receipt_idstring uuid nullable

Immutable publication receipt preserved across rollback.

reversal_receipt_idstring uuid nullable

Immutable verified rollback receipt, when rollback completed.

Example response

{
  "decision": "apply",
  "status": "applied"
}

Changes

No recorded changes to this operation across all 1 revision of this API.