Skip to main content
POST
Time Machine — bulk revert accounts to a trading day or an instant

Authorizations

Authorization
string
header
required

JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.

Body

application/json
reason
string
required

Why — audit trail, account metadata, webhooks

Minimum string length: 3
Example:

"CME data feed outage on 2026-07-08"

tradingDay
string

END-OF-DAY restore: Chicago trading day (YYYY-MM-DD) to revert TO. One of tradingDay / revertTo; with an audience and neither given, the accounts are restored to audience.from.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-07-07"

revertTo
string

POINT-IN-TIME restore: the exact instant (ISO 8601, UTC) every targeted account is restored to — typically the moment the outage began. See the single-account endpoint for how the state at an instant is reconstructed.

Example:

"2026-09-08T13:30:00Z"

accountIds
string[]

Specific accounts to revert (max 1000 per call)

Required array length: 1 - 1000 elements
allAccounts
enum<boolean>

Revert every account in the organization with activity after the restore point (later trades or snapshots) — including accounts created during the outage day itself. Untouched accounts are skipped.

Available options:
true
audience
object

Target the accounts an outage window actually touched, instead of naming them. Only non-voided activity counts. The response reports how many matched; an empty audience returns 200 with reverted: 0 (nothing to do is not an error).

preview
boolean
default:false

Dry run: per-account report of what WOULD happen, nothing changed. Use it to build the confirmation screen before an org-wide revert.

Example:

true

Response

Bulk revert processed (check per-account failures)

success
boolean
Example:

true

message
string
Example:

"Reverted 42 accounts to 2026-07-07"

data
object
Example: