Publish, pause, resume or archive one Hive sequence. Publishing locks the reviewed draft for later enrollment. Resuming allows remaining messages to eligible enrolled people. Your AI asks first and, with Hive approvals on, Hive asks again inside Hive.

This reaches real people, so the person is asked before it runs. Their own AI client asks them. When the connection was made with Hive approvals switched on, the first call returns a single-use Hive approval link instead of acting, and the exact request is repeated with approvalToken and an Idempotency-Key once they approve it inside Hive.

post/api/v1/tools/set_sequence_status

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/set_sequence_status
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Required on the approved retry; optional while requesting the initial approval challenge.

Request body

sequenceIdstring required

The Hive sequence to change.

expectedRevisioninteger required

The exact revision returned by read_sequence that the person reviewed.

action'publish' | 'pause' | 'resume' | 'archive' required

What to do with it.

approvalTokenstring

Single-use token returned by Hive after the owner approves this exact action.

Response

Tool result or approval challenge

OR

Changes

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