SyncGet sync statistics

Get sync statistics

Return aggregated sync statistics for the calling agency across the last 24 hours, last 30 days, and all time, plus per-platform and per-client breakdowns. Cost is estimated from committed record counts.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/airbyte/stats" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "last_24h": {
      "syncs": 12,
      "success_rate": 100,
      "records_synced": 182760,
      "bytes_synced": 42,
      "estimated_cost_usd": 2.74
    },
    "last_30d": {
      "syncs": 12,
      "success_rate": 100,
      "records_synced": 182760,
      "bytes_synced": 42,
      "estimated_cost_usd": 2.74
    },
    "all_time": {
      "syncs": 12,
      "success_rate": 100,
      "records_synced": 182760,
      "bytes_synced": 42,
      "estimated_cost_usd": 2.74
    },
    "per_platform": {},
    "per_client": {}
  }
}
GET
/stats
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key as bearer token, format Bearer ak_.... Grants full read-write access scoped to the agency. Agency-wide scoped keys (mcp_ with no fixed location) are accepted too and need airbyte:read or airbyte:write; a client-bound mcp_ key gets 403 agency_key_required. See Using an mcp_ key over HTTP.

Agency key as bearer token, format Bearer ak_.... Grants full read-write access scoped to the agency. Agency-wide scoped keys (mcp_ with no fixed location) are accepted too and need airbyte:read or airbyte:write; a client-bound mcp_ key gets 403 agency_key_required. See Using an mcp_ key over HTTP.
Bearer Token
Bearer Tokenstring
Required

Location secret key as bearer token, format Bearer sk_.... Grants read-only access; the agency is resolved from the location. Write endpoints return 403.

Location secret key as bearer token, format Bearer sk_.... Grants read-only access; the agency is resolved from the location. Write endpoints return 403.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key as bearer token, format Bearer ak_.... Grants full read-write access scoped to the agency. Agency-wide scoped keys (mcp_ with no fixed location) are accepted too and need airbyte:read or airbyte:write; a client-bound mcp_ key gets 403 agency_key_required. See Using an mcp_ key over HTTP.

header
Authorizationstring
Required

Bearer token. Location secret key as bearer token, format Bearer sk_.... Grants read-only access; the agency is resolved from the location. Write endpoints return 403.

Responses

successboolean
dataobject