List dashboard home metrics
curl --request GET \
--url https://api.finsync.ar/api/home-metrics \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/home-metrics"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"metrics": [
{
"id": "fx-rate:ARS",
"label": "<string>",
"description": "<string>",
"group": "operator",
"available": true,
"unavailable_reason": "mesas_disabled"
}
]
}Home metrics
List dashboard home metrics
Returns the named dashboard home-metric catalog with per-company availability. Includes one fx-rate:{CURRENCY} card per non-USD company currency. API keys always receive the Métricas-group cards (day-pnl-usd, commissions-net, cost-centers-net) without the metrics-password cookie; those still respect cost_centers_enabled / mesas_enabled / cheques_enabled / limits_enabled. Employee sessions need the matching *.view permission for gated cards and skip the UI password gate on this surface.
GET
/
api
/
home-metrics
List dashboard home metrics
curl --request GET \
--url https://api.finsync.ar/api/home-metrics \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.finsync.ar/api/home-metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finsync.ar/api/home-metrics"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"metrics": [
{
"id": "fx-rate:ARS",
"label": "<string>",
"description": "<string>",
"group": "operator",
"available": true,
"unavailable_reason": "mesas_disabled"
}
]
}