An agent can connect on its own if it already holds X_API_KEY, X_API_KEY.Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.
Attaches one of your accounts to the copier with its own rules; leave a rule out for its default. Copying starts at once (unless `is_active` is false), with what the master opens from then on. Retrying is safe: a second attempt fails with `already_following`.
create_copier
A copier copies one master account to its followers. It starts without any: add them next. Masters must be hedging accounts (all of MT4, and MT5 hedging accounts). Retrying a failed request can create a second copier; list your copiers first.
delete_copierdestructive
Deletes the copier, its followers and their activity log. The accounts stay connected. With `close_positions=true` every copy is closed first.
disconnect_accountdestructive
Stops the account's terminal and deletes the account with its stored history. An account a copier uses is refused with `account_in_use`: delete the copier or remove the follower first.
get_accountread-only
The account with its status, role and freshest figures.
get_copierread-only
The copier with its master, its followers and what the engine reports about each.
get_followerread-only
The follower's rules and what the engine reports about it.
list_accountsread-only
Your connected MetaTrader accounts, newest first.
list_copiersread-only
Your copiers with their followers, oldest first.
list_copy_eventsread-only
What the copier engine did, or decided not to do, on the copier's followers, newest first. Events are kept for 90 days.
list_followersread-only
The copier's followers, oldest first.
remove_followerdestructive
Detaches the account from the copier and deletes its activity log. The account stays connected. With `close_positions=true` its copies are closed first.
update_copierdestructive
Rename, pause or resume a copier. Pausing stops new copies on every follower; copies already open stay and still follow the master's closes and changes. Resuming copies only what the master opens from then on.
update_followerdestructive
Change rules, or pause and resume this follower. Changes apply to what's copied from then on.