SyncList recent jobs

List recent jobs

Return recent Airbyte sync jobs for the connection, newest first. Data is read live from Airbyte.

Each job is Airbyte's own record passed through unchanged (see the Job schema for exact field names). Airbyte's next/previous paging fields are not forwarded.

An empty data array means this connection has genuinely never run. It is never a symptom: an unreachable Airbyte, a rejected token, or a malformed upstream response all raise (401 upstream errors surface as a failure, and a 200 without a job array returns 502 airbyte_unavailable) rather than being flattened into "no runs". Render [] as fact and the error as "could not reach the sync provider".

This is the only endpoint on this surface that reads Airbyte live. GET /connections and GET /sync-events read Mythic's own database, so no Airbyte outage can turn them into a false empty either.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/airbyte/connections/example_string/jobs?limit=10" \
  -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
    }
  ]
}
GET
/connections/{id}/jobs
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.
path
idstring
Required

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

query
limitinteger

Maximum jobs to return. Default 10, clamped to 1100.

Min: 1 • Max: 100
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).

Query Parameters

limitinteger

Maximum jobs to return. Default 10, clamped to 1100.

Responses

successboolean
dataarray

Jobs, newest first.