Api reference
Get sync stats
Return aggregate counters for an integration — total runs, success / failure / conflict counts by window, average duration, next scheduled run. Computed on-the-fly from the sync logs table; may be slow for long-running integrations with millions of log entries.
Related endpoints
POST /integrations/{provider}/activate— Activate integrationPOST /integrations/{provider}/deactivate— Deactivate integrationGET /integrations/{provider}— Get integration statusPOST /integrations/{provider}/test— Test integration credentialsPOST /integrations/{provider}/sync— Trigger manual syncGET /integrations— List all integrationsPUT /integrations/{provider}/status— Update integration statusPUT /integrations/{provider}/sync-toggle— Toggle integration sync
Common errors
401 unauthenticated— missing, malformed, or revoked API key.
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Path Parameters
provider*string
Value in
"practicehub" | "wodify" | "terminal"integrationId*string
Format
uuidResponse Body
application/json
curl "https://api.revkeen.com/v2/integrations/practicehub/sync-stats/00000000-0000-0000-0000-000000000000" \ -H "x-api-key: $REVKEEN_API_KEY"{
"success": true,
"data": null
}Empty
Empty