library

Fork Library Entry

Fork a library entry's selected variant into the caller's org.

Creates a normal user strategy (S3 source + commit #0) with the selected variant applied and library provenance recorded (spec 08 §5). The forked strategy is a normal, editable, backtestable strategy from second one — no library entry is mutated in place (entries are immutable, spec 03 B2.3).

post/v1/library/{slug}/fork

Request

  • Base URL: https://api.usekeel.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.usekeel.io/v1/library/{slug}/fork
  • Auth: none declared

Path parameters

slugstring required

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Request body

variant_idstring nullable
namestring nullable
created_via'app' | 'cli' | 'mcp-local' | 'mcp-remote' | 'sdk' | 'chat' | 'api' nullable
source_surfacestring nullable

Response

Successful Response

strategy_idstring required
namestring required
source_slugstring required
entry_versionstring nullable
variant_idstring required
is_default_variantboolean required
import_idstring nullable
library_source_hashstring nullable
appliedobject[]
config_summaryobject
headlineobject nullable
basket_resolved_atstring nullable
delisted_membersobject[]
basket_notestring nullable
editor_pathstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.