Syncs
Syncs
Get sync metrics
GET
The record, issue and pending change counts of a sync, per app and table: what the sync page's Statistics tab shows.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
base_id*stringThe sync.
Format
uuidregion*RegionsThe region of the sync
Value in
"besg""usnv"OK
application/json- response
GET /bases/<base_id>/metrics: the sync page's Statistics tab
base_id*Base Idapps*array<>curl -X GET 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/metrics?region=besg'{ "base_id": "<base_id>", "apps": [ { "app_id": "<app_id>", "processing_records": 0, "tables": [ { "table_mapping_id": "<table_mapping_id>", "table_name": "<table_name>", "records": 0, "delete_protected_records": 0, "issues": 0, "issues_created": 0, "issues_updated": 0, "issues_deleted": 0, "changes": 0, "changes_created": 0, "changes_updated": 0, "changes_deleted": 0, "issues_ignored": 0, "issues_ignored_created": 0, "issues_ignored_updated": 0, "issues_ignored_deleted": 0 } ] } ]}