SyncTrigger sync

Trigger sync

Queue an immediate sync job for the connection in Airbyte. Requires an agency key (ak_).

curl -X POST "https://mythic-analytics.gulp.workers.dev/client/v1/airbyte/connections/example_string/sync" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "jobId": 68374749,
    "status": "succeeded",
    "jobType": "sync",
    "connectionId": "871f879d-9c37-426b-be7b-eeaca16333f3",
    "startTime": "2026-01-30T10:14:37Z",
    "lastUpdatedAt": "2026-01-30T10:17:22Z",
    "duration": "PT2M45S",
    "bytesSynced": 307376,
    "rowsSynced": 132
  }
}
POST
/connections/{id}/sync
POST
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.
path
idstring
Required

Mythic connection record identifier (the local UUID, not the Airbyte connection ID).

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.

Path Parameters

idstring
Required

Mythic connection record identifier (the local UUID, not the Airbyte connection ID).

Responses

successboolean
dataobject

Airbyte job record, passed through verbatim from Airbyte's public API (GET /v1/jobs) with no renaming or added fields. These are Airbyte's field names — there is no createdAt, updatedAt, or endTime, and no per-attempt block (lastAttempt) on this payload.