Get all master accounts with their slaves in a single call
Changed onReturns every account that currently has at least one slave copying from it, either through a direct account-to-account copier or through a strategy of that account. This is the bulk alternative to calling GET /accounts/{accountId}/slaves per account: each entry contains the master account, its slave accounts (same payload as the per-account endpoint) and the slave count. Only direct slaves are listed, there is no transitive expansion: in a chain A -> B -> C you get one entry for A with slave B and one entry for B with slave C, so an intermediate account appears both as a master and as a slave. Deleted master and slave accounts are excluded, so an empty result means no account is acting as a master.
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
Response
OK
Example response
[
{
"master": {
"accountInformation": {
"expertAdvisorResources": [
{
"cpuPercent": 3.4,
"memoryBytes": 734003200
}
]
},
"callbackUrl": "https://example.com/webhook/account-created"
},
"slaves": [
{
"accountInformation": {
"expertAdvisorResources": [
{
"cpuPercent": 3.4,
"memoryBytes": 734003200
}
]
},
"callbackUrl": "https://example.com/webhook/account-created"
}
]
}
]Changes
- info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status
- info
- info
added the optional property
/////to the response with the status - info
added the optional property
//////to the response with the status
- info