RevKeen Docs
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 integration
  • POST /integrations/{provider}/deactivate — Deactivate integration
  • GET /integrations/{provider} — Get integration status
  • POST /integrations/{provider}/test — Test integration credentials
  • POST /integrations/{provider}/sync — Trigger manual sync
  • GET /integrations — List all integrations
  • PUT /integrations/{provider}/status — Update integration status
  • PUT /integrations/{provider}/sync-toggle — Toggle integration sync

Common errors

  • 401 unauthenticated — missing, malformed, or revoked API key.
GET
/integrations/{provider}/sync-stats/{integrationId}
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
Formatuuid

Response 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