Skip to main content
GET
/
v1
/
analytics
/
buckets
/
{bucket_id}
/
sync-comparison
Get Sync Comparison
curl --request GET \
  --url https://api.mixpeek.com/v1/analytics/buckets/{bucket_id}/sync-comparison
{
  "bucket_id": "<string>",
  "time_range": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z"
  },
  "configs": [
    {
      "sync_config_id": "<string>",
      "provider_type": "<string>",
      "avg_duration_seconds": 123,
      "avg_throughput_mbps": 123,
      "success_rate": 123,
      "total_files_synced": 123,
      "total_bytes_synced": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'. Falls back to ?namespace= query parameter if the header is omitted.

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Path Parameters

bucket_id
string
required

Query Parameters

hours
integer
default:168

Hours of history (default: 7 days)

Required range: 1 <= x <= 720

Response

Successful Response

Sync configuration comparison response.

bucket_id
string
required

Bucket identifier

time_range
TimeRange · object
required

Query time range

configs
SyncConfigMetric · object[]
required

Metrics per sync config