paper

Restart Paper Deployment

End a LIVE or PAUSED paper run and start a fresh run of the same thing.

One transaction: the class-scoped lock (a real id 404s; anything but LIVE/PAUSED, or a pending update, is 409), the stop half (STOPPED with stopped_at, shard route, equivalence, a STOP_REDEPLOY record naming the new id), the COSTED backtest.create check on this connection (so the stopped run no longer holds its slot and an org at its cap can restart), then the create chain on the old run's deployed commit, schedule, config and baseline capital with a freshly minted account. Any failure before commit rolls both halves back. After commit: the old schedule is deleted (best-effort), the old run settles at its stopped_at, and on_paper_create_completed fires once for the new run (S01 §3.13 steps 0-6).

post/v1/paper/{deployment_id}/restart

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/paper/{deployment_id}/restart
  • Auth: none declared

Path parameters

deployment_idstring required

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Response

Successful Response

deployment_idstring required
strategy_idstring required
namestring required
statusstring required
schedulestring nullable
source_hashstring nullable
s3_keystring nullable
org_idstring nullable
account_idstring nullable
deployed_atstring nullable
stopped_atstring nullable
created_atstring nullable
updated_atstring nullable
deployed_commit_idstring nullable
deployed_version_stringstring nullable
config_idstring nullable
total_pnlnumber nullable
position_countinteger nullable
remainingobject nullable
execution_style'market' | 'maker' nullable
paused_reasonstring nullable
paused_atstring nullable
tranchingobject nullable
health'running' | 'degraded' | 'stalled' | 'stopped' nullable
serving_warningsobject[] nullable
restarted_fromstring required

Changes

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