Skip to content
Last updated

Get synchronization metrics and statistics for Git-backed automations.

GEThttps://api.aitronos.com/v1/streamline/metrics/sync

Headers

Authorization string required

Returns

Returns sync metrics data including success rates, sync counts, and timing statistics.

Bash
curl -X GET "https://api.aitronos.com/v1/streamline/metrics/sync" \
  -H "Authorization: Bearer $FREDDY_SESSION_TOKEN"

Response:

{
  "total_syncs": 150,
  "successful_syncs": 145,
  "failed_syncs": 5,
  "average_duration_seconds": 3.2,
  "last_sync_at": "2025-11-15T10:30:00Z",
  "sync_by_trigger": {
    "webhook": 120,
    "manual": 30
  },
  "repositories_count": 12,
  "automations_with_git": 15
}