List account metrics
const url = 'https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/account-metrics?limit=100';const options = { method: 'GET', headers: {'X-Request-Id': 'onboarding-client-1042', Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/account-metrics?limit=100' \ --header 'Authorization: <Authorization>' \ --header 'X-Request-Id: onboarding-client-1042'Returns available account metric snapshots for a server. Requires metrics:read.
This is not a live valuation request and does not include trade or transaction
details. Snapshots can be unavailable or delayed. An empty response does not
indicate zero risk. Results are bounded and do not include a replay cursor.
To request just the latest stored snapshot for one account, set
accountNumber and limit=1. This does not request a fresh valuation.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”UUID of a trading server owned by your organization.
Example
6be9a699-2f28-402e-b64e-93ba6bdafe1bHeader Parameters
Section titled “Header Parameters”Optional correlation ID used for API request billing and logs.
Example
onboarding-client-1042Query Parameters
Section titled “Query Parameters”Filter snapshots to one trading account.
Return snapshots measured at or after this timestamp.
Maximum number of snapshots to return.
Responses
Section titled “Responses”Metric snapshots returned in descending measurement order.
object
object
Not an authoritative organization drawdown calculation. Calculate rules from the account facts required by your policy.
Not an authoritative organization drawdown calculation. Do not interpret this value alone as proof of zero loss.
Source snapshot time. The existing sender rounds it to the minute; it does not certify price freshness or execution time.
Date and time the receiving service created the stored snapshot record.
Examplegenerated
{ "snapshots": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "organizationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "serverId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "accountNumber": "example", "eventId": "example", "sequence": 1, "balance": 1, "equity": 1, "usedMargin": 1, "freeMargin": 1, "marginLevel": 1, "unrealizedProfit": 1, "dailyDrawdown": 1, "totalDrawdown": 1, "accountStatus": "example", "measuredAt": "2026-04-15T12:00:00Z", "createdAt": "2026-04-15T12:00:00Z" } ]}Invalid request.
object
Validation issue details when the request fails schema validation.
object
Examplegenerated
{ "error": "example", "issues": [ {} ]}Management API authentication is missing or invalid.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Management API authentication required"}The organization cannot cover the active API request price.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Insufficient API credits"}The key lacks the required scope or server access.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Missing API scope: accounts:read"}Unexpected server error.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Internal server error"}