Get Workspace Connector Sync Logs

get/v1/workspace-connector-sync-logs/{workspace_connector_sync_log_id}

Returns a single connector sync log by id, including its timing, trigger, status, and error detail. Read only, no side effects. Scoped to the authenticated workspace.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
workspace_connector_sync_log_idstring <uuid>YesUUID of the sync log.e.g. 5c6d7e8f-9012-43a4-b5c6-d7e8f9012a3b

Request

cURL
curl -X GET https://api.wellapp.ai/v1/workspace-connector-sync-logs/{workspace_connector_sync_log_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

200The sync log.

{
  "data": {
    "type": "workspace_connector_sync_log",
    "id": "5c6d7e8f-9012-43a4-b5c6-d7e8f9012a3b",
    "attributes": {
      "status": "error",
      "trigger_type": "manual",
      "started_at": "2026-06-07T08:10:00.000Z",
      "completed_at": "2026-06-07T08:10:05.000Z",
      "duration_ms": 5000,
      "error": "Gmail token expired, refresh failed.",
      "cloud_task_id": null,
      "metadata": {
        "records_synced": 0
      },
      "created_at": "2026-06-07T08:10:00.000Z",
      "updated_at": "2026-06-07T08:10:05.000Z"
    },
    "relationships": {
      "workspaceConnector": {
        "data": {
          "type": "workspace_connector",
          "id": "00000000-0000-4000-8000-000000000001"
        }
      }
    }
  }
}

401Missing or invalid bearer token.

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404No sync log exists with the supplied id.

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}