Change a Hive operation found by list_workspace_operations. Your AI asks before this runs; with Hive approvals on, Hive asks again inside Hive. Uses the connected person and workspace and also needs the operation’s own write scope. Requires an OAuth connection.

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/write_workspace_operation

Request

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

Headers

Idempotency-Keystring

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

Request body

operationstring required

An exact operation id returned by list_workspace_operations.

pathobject

The named record ids required by this operation.

queryobject

Only the query fields listed for this operation.

bodyobject

Only the editable fields listed for this operation. Hive checks the same rules as its screen.

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.