Skip to main content
POST
Upgrade to a newer template version.

Authorizations

Authorization
string
header
required

An API key issued with object_model scopes: Authorization: Bearer sk_…. The scopes: object_model:records:read, object_model:records:write, object_model:facts:read, object_model:facts:write, object_model:model:read, object_model:model:configure, object_model:actions:run, object_model:changes:read. An operation's security lists the scopes it needs; several entries mean any one of them will do. A person field (ref(user), ref_list(user)) holds a user id: look people up by email or id with GET /v1/users, outside this API, with a key that also has users:read.

Scopes

object_model:model:configure

Headers

Idempotency-Key
string
required

Required on every write: one key per logical write, sent again unchanged on every retry. A finished request replays its answer for 24 hours; the same key on a different request is refused (409 idempotency_key_reused). A dry run (dry_run: true) needs none, and is not recorded under one it carries.

Required string length: 1 - 255
Pattern: ^[\x20-\x7E]+$

Body

application/json
confirm_plan_hash
string
draft_note
object
dry_run
boolean
migration_spec_json
string
prepare_draft
boolean
report
object
to_template_version

Response

Answered.

applied
boolean
approval_required
boolean
changes
object[]
claim_migration_report_json
string
claim_type_names
object
conflicts
object[]
draft_id
string
draft_preparation_supported
boolean
gate_failures
string[]
kept
object[]
merged_source
string
migration_plan_json
string
moved_definitions
string[]
moved_org_authored
string[]
pending_decision_id
string
plan_confirmation_required
boolean
to_template_version
version
warnings
string[]