Skip to main content
POST
Push, pull or merge every tool of an integration
  • Each tool is checked first: a refusal, or a warning you haven’t accepted, answers with nothing written. acknowledgment_required names each warning’s tool in details.tool_id.
  • Then the tools are written one at a time, so a refusal partway, such as a target that changed since its check, leaves the tools before it moved.
  • Send dry_run to see each tool’s preview.
  • A forced breaking or unchecked version of a public tool lands in production as your team’s private copy.
  • An API key limited to environments moves tools only into an environment it may be used in, from any of your team’s environments.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: tools:build.
  • Effect: Creates or changes something.
  • Errors: acknowledgment_required, target_moved, production_protected, not_found, environment_not_found, environments_unavailable, merge_base_unknown, merge_too_large, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

an integration ID: int_ and 32 lowercase hex digits

Example:

"int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

Body

application/json
from
string
required

a string matching the pattern ^a-z [blocked]?$

Pattern: ^[a-z](?:[a-z0-9-]{0,30}[a-z0-9])?$
to
string
required

a string matching the pattern ^a-z [blocked]?$

Pattern: ^[a-z](?:[a-z0-9-]{0,30}[a-z0-9])?$
mode
enum<string>
required

replace: the target serves the source's version. merge: the source's changes go onto the target's newest version

Available options:
replace,
merge
dry_run
boolean

Preview: the warnings and the files that would change, writing nothing

force
boolean

Accept every warning this call finds

acknowledge
enum<string>[]

Accept only these warnings

Available options:
inputs_change,
public_tool_fork,
target_changed,
target_ahead,
no_login_in_environment,
unchecked_code,
merge_conflicts

Response

What it did, or would do, to each tool

Each tool's promotion, in the integration's order

data
object[]
required

published: the target serves a new version. reset: it follows production again. unchanged: it already served it. preview: what a dry_run found